/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F5F5F5;
    --gradient-1: linear-gradient(15deg, #454B77, #D1ACC8);
    --gradient-2: linear-gradient(15deg, #6471D1, #7FBDD9);
    --white: #FFFFFF;
    --light-gray: #E9E9E9;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 游戏容器 */
.game-screen {
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
}

.game-screen.active {
    display: flex;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(245, 245, 245, 0.7);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 240px;
    }

    .panel {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
    }

    .current-event-section, .event-history-section {
        padding: 15px;
    }

    .game-status, .player-attributes, .sidebar-buttons {
        padding: 15px;
    }
}