body {
    margin: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
/* 隐藏 iframe 内 scrollbar，让卡片网格能用满 iframe 宽度（仿 common/egame2/index.ftl） */
html, body {
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;               /* Chrome / Safari / Opera */
}
.containter {
    padding: 16px 20px 20px;
}
.elenew-live-trace {
    float: left;
    line-height: 24px;
    font-size: 13px;
    color: #fff;
    margin: 0 0 16px 0;
}
.elenew-live-trace .elenew-trace-title {
    line-height: 40px;
    font-size: 24px;
    color: #FFF;
    vertical-align: middle;
}
.clear { clear: both; }
.bd .clear { display: none; }

.bd {
    display: grid;
    grid-template-columns: repeat(auto-fill, 184px);
    column-gap: 27px;
    row-gap: 20px;
}
.elenew-game-layout {
    position: relative;
    width: 184px;
    box-sizing: border-box;
}
.elenew-view-block .elenew-img-innerwrap {
    display: block;
    position: relative;
    background-color: #FFF;
    box-shadow: 0 1px 2px #C7C8C9;
}
.mask-wrap {
    position: relative;
    padding: 4px;
    cursor: pointer;
}
.elenew-game-img {
    display: block;
}
.elenew-game-img img {
    display: block;
    width: 100%;
    height: 121px;
    margin: 0;
}
.img-innerwrap-name {
    text-indent: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 15px;
    color: #444;
    font-weight: bold;
    height: 26px;
    line-height: 26px;
    text-align: center;
}
.elenew-game-ctl-wrap {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: url(../../egame2/images/game_layout_bg.png) repeat;
    overflow: hidden;
}
.mask-wrap:hover .elenew-game-ctl-wrap.inner-one {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.elenew-game-ctl-links {
    width: 100%;
    margin: 0;
    text-align: center;
}
.elenew-game-ctl-links .ctl-btn-lite {
    display: block;
    width: 82%;
    height: 38px;
    line-height: 38px;
    color: #FFF;
    font-size: 15px;
    margin: 0 auto;
    background: transparent;
    border: solid 1px #FFF;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
}
.elenew-game-ctl-links .ctl-btn-lite:hover {
    background: #BD2004;
    border-color: #E6391F;
}
.funplay-empty {
    grid-column: 1 / -1;       /* 跨满整行，避免被 .bd 的 grid 挤成单格 */
    text-align: center;
    padding: 80px 0;
    color: #999;
    font-size: 16px;
}
