/* 视频播放 */
.showImg .img_item.Qimgs ul li.video-item {
    position: relative;
    cursor: pointer;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play-btn i {
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}
.video-modal-content video {
    width: 100%;
    display: block;
}
.showImg .img_item.Qimgs ul li:not(.video-item) {
    cursor: pointer;
}

/* 权限/隐私弹窗 */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn .25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.permission-content {
    position: relative;
    width: 88%;
    max-height: 78%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp .3s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 8px;
    -webkit-overflow-scrolling: touch;
}
.modal-footer {
    flex-shrink: 0;
    padding: 8px 16px 14px;
}
.pClose {
    position: absolute;
    top: 12px; right: 12px;
    width: 28px; height: 28px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    background: rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.pClose:active { background: rgba(0,0,0,0.25); }
.pClose .ico {
    display: block;
    width: 14px; height: 14px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2.5" stroke-linecap="round"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>') no-repeat center;
    background-size: contain;
}
.permissionMain {
    font-size: 14px; color: #555; line-height: 2;
    word-break: break-all;
}
.permissionMain br { display: block; content: ''; margin-top: 4px; }
.permissionMain strong {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 15px;
    color: #1a1a2e;
    padding-left: 4px;
    line-height: 1.4;
}
.permissionMain strong:first-child { margin-top: 0; }
.permissionMain li span { font-weight: bold; }
.permissionMain p { margin: 3px 0 3px 7px; color: #888; }
.permissionMain span[style] { font-size: inherit !important; }
.permissionMain font { font-size: inherit !important; color: inherit !important; }
.privacy-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.gSure {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 0;
    border-radius: 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: opacity .2s;
}
.gSure:active { opacity: .85; }
.view-permission, .view-privacy { color: #2196F3; text-decoration: underline; }

/* 详情信息样式 */
.kgInfo { padding: 0 !important; }
.kgInfo ul { margin-left: 10px; margin-right: 10px; }
.gameInfo ul { display: block !important; }
.gameInfo ul li {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex: none !important;
    min-width: auto !important;
    max-width: none !important;
    width: 100% !important;
    padding: 2px 0px !important;
    text-align: left !important;
}
.gameInfo ul li em { flex-shrink: 0; font-weight: bold; }
.gameInfo ul li span { flex: 1; text-align: right; word-break: break-all; }

/* 面包屑和合集 */
.crumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-section .col-list { padding: 0 10px 10px; }
.collectionItem {
    display: flex;
    padding: 10px 5px;
    background: #F3F9FF;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
}
.collectionItem:first-child { margin-top: 0; }
.collectionItem .imgInfo {
    flex: 1;
    overflow: hidden;
    padding-right: 5px;
}
.collectionItem .imgInfo .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.collectionItem .imgInfo .title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0; left: 0;
    z-index: -1;
    width: 100px;
    height: 4px;
    opacity: .5;
    background: #00CCFF;
}
.collectionItem .imgInfo .time {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}
.collectionItem .imgInfo .time i {
    color: #FF7D04;
    font-style: normal;
}
.collectionItem .imgInfo .desc {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
}
.collectionItem .imgBox {
    width: 150px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.collectionItem .imgBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.downbtn a.disabled { pointer-events: none; opacity: 0.6; }

/* gdVersionBox 相关版本 */
.gdVersionBox { background: #FFFFFF; border-radius: .1rem; }
.gdVersionBox .gdTitle .titleL { font-size: .3rem; color: #434343; line-height: .4rem; font-weight: bold; }
.gdVersionBox > ul { margin: .16rem -0.2rem 0; font-size: .24rem; line-height: .24rem; color: #333; }
.singleColumnList { display: flex; flex-direction: column; padding: 0 10px 10px; }
.singleItem > a { display: flex; align-items: center; padding: .18rem .2rem; position: relative; }
.singleItem > a .imgBox { width: .72rem; height: .72rem; border-radius: .1rem; overflow: hidden; }
.singleItem > a .imgBox img { width: 100%; height: 100%; display: block; object-fit: cover; }
.singleItem > a .itemInfo { flex: 1; padding: 0 .12rem 0 .15rem; overflow: hidden; font-size: .22rem; line-height: .26rem; color: #9F9FA4; }
.singleItem > a .itemInfo p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .05rem; }
.singleItem > a .itemInfo p:first-child { font-size: .28rem; line-height: .32rem; color: #000; margin-top: 0; }
.singleItem > a .itemInfo span.ver-date { margin-left: .15rem; }
.singleItem > a .btn { color: #6297FF; white-space: nowrap; padding-right: 10px; }
.singleItem:nth-child(even) > a { background: rgba(118,75,162,0.06); }
