/* ============================================
   游戏容器、顶部状态栏、主内容区
   盲盒易拉罐 - 一只打工猫的逆袭故事
   ============================================ */

.game-container {
    display: none;
    flex-direction: column;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px;
    overflow: hidden;
}

/* 顶部状态栏 */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
}

.stat-icon {
    font-size: 16px;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--accent-gold);
}

/* 主内容区 */
.main-content {
    display: flex;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* 左侧 - 功能面板切换区 */
.left-panels {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.panel-content {
    display: none;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.panel-content.active {
    display: flex;
}

.section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.section-title .subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* 右侧 - 房子展示 */
.house-section {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.house-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 0 4px;
}

.house-section-header .section-title {
    font-size: 14px;
}

/* 快捷面板 - 竖排 */
.quick-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.panel-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.panel-item:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 217, 61, 0.1);
    transform: translateX(3px);
}

.panel-item.active {
    border-color: var(--accent-gold);
    background: rgba(255, 217, 61, 0.15);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.2);
}

.panel-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
}
