.category-intro-clamp {
    max-height: 60px; /* 限制最高高度 */
    overflow: hidden; /* 隐藏超出内容 */
    display: -webkit-box; /* 支持弹性盒模型 */
    -webkit-box-orient: vertical; /* 设置盒子垂直排列 */
    -webkit-line-clamp: 5; /* 设置显示的行数 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */
    white-space: normal; /* 正常的白空格处理 */
}

#stage {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
    #stage {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* 底层 iframe */
#game-iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    display: block;
}

#stage-fullscreen {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 12;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#stage-fullscreen.show {
    display: inline-flex;
}

/* 遮罩层：背景图拉伸 */
#game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    z-index: 10;
    transition: opacity 0.8s ease, visibility 0.8s;

    filter: brightness(.3) blur(7px);
}

#game-ban {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 11;
}

/* 中心 Logo 图标 */
.center-logo {
    width: 120px;
    max-width: 30%;
    margin-bottom: 20px;
    border-radius: 12px;
}

#game-ban h4 {
    color: #fff;
    padding: 0 16px;
    margin-bottom: 20px;
}

/* 详情页信息栏 */
.game-meta {
    padding-top: 12px;
}

.game-meta h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    word-break: break-word;
}

@media (min-width: 768px) {
    .game-meta {
        padding-top: 0;
    }
    .game-meta h1 {
        font-size: 1.9rem;
    }
}

/* 截图列表 */
.game-screenshot {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .game-screenshot {
        height: 260px;
    }
}

@media (min-width: 1200px) {
    .game-screenshot {
        height: 320px;
    }
}

.game-screenshot-col {
    margin-bottom: 12px;
}

/* 隐藏状态 */
.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* 定义一个快速度类 */
.spinner-fast {
    animation-duration: 0.5s; /* 数值越小，速度越快 */
}