/* --- アプリ専用 基本 & レイアウト --- */
.app-body {
    background-color: #f0f8ff;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.app-main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* --- ゲーム本体のスタイル --- */
#game-container {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
}

#game-container h1 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
}

#ai-character {
    font-size: 50px;
    margin: 10px;
}

#ai-feedback {
    min-height: 50px;
    margin: 15px 0;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

#game-area {
    margin: 20px 0;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 10px;
}

#item-source {
    font-size: 80px;
    cursor: grab;
    user-select: none;
}
#item-source:active {
    cursor: grabbing;
}

#drop-zones {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.drop-zone {
    width: 150px;
    height: 150px;
    border: 3px solid #ced4da;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    transition: background-color 0.3s, border-color 0.3s;
}
.drop-zone.drag-over {
    background-color: #cce5ff;
    border-color: #007bff;
}
.zone-icon {
    font-size: 40px;
}

.controls {
    margin-top: 20px;
}

#game-container button {
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    color: white;
    transition: background-color 0.3s;
    margin: 0 10px;
}

#switch-mode-btn { background-color: #28a745; }
#switch-mode-btn:hover { background-color: #218838; }
#switch-mode-btn.testing { background-color: #fd7e14; }
#switch-mode-btn.testing:hover { background-color: #e66a01; }

#reset-btn { background-color: #6c757d; }
#reset-btn:hover { background-color: #5a6268; }

#score-board {
    margin-top: 10px;
    font-size: 1.2em;
}