/* 全局 */
body {
    background-color: #f5f6f8;
}

/* 前台卡片 */
.game-card {
    transition: transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.12);
}
.game-card .card-img-top {
    height: 160px;
    object-fit: cover;
}
.placeholder-img {
    height: 160px;
    background: #e9ecef;
}
.placeholder-img-lg {
    height: 320px;
    background: #e9ecef;
}

/* 后台缩略图 */
.thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
}

/* 描述单元格：单行省略，hover 显示全部 */
.desc-cell {
    display: inline-block;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* 登录页 */
.login-bg {
    background: #212529;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    width: 100%;
    max-width: 360px;
}

/* 复制按钮触控区（移动端） */
.copy-btn {
    min-height: 32px;
}

/* 移动端表格转卡片 */
@media (max-width: 767px) {
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
    }
    .table-responsive thead tr {
        display: none;
    }
    .table-responsive tr {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: .75rem;
        padding: .5rem;
    }
    .table-responsive td {
        border: none;
        padding: .35rem .25rem;
    }
}
