/* 游戏模块样式 */
/* 游戏列表表格样式 */
#games-list table {
    border-collapse: collapse;
    width: 100%;
}

#games-list th, #games-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#games-list th {
    background-color: #f8f9fa;
}

#games-list tr:hover {
    background-color: #f1f1f1;
}

/* 游戏列表块状布局 */
.game-blocks {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    padding: 10px;
    min-height: calc(3 * (120px + 15px) - 15px);
}

.game-block {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    height: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.game-block:hover {
    transform: translateY(-2px);
}

.game-block .game-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-block .game-meta {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

/* 添加容器样式 */
.games-container {
    flex-direction: column !important;
    padding: 0 !important;
}

.content {
    width: 100% !important;
    height: 90vh !important;
    margin: 0 auto !important;
    overflow-y: auto;
}

/* 保留原游戏样式 */
.game-blocks {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    padding: 10px;
    min-height: calc(3 * (120px + 15px) - 15px);
}

.game-block {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    height: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.game-block:hover {
    transform: translateY(-2px);
}

.game-block .game-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-block .game-meta {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}