/* SFEN欄 */
.sfen-area input {
    width: 100%;
    padding: 5px;
}

/* 手番表示トグル */
.turn-toggle {
    display: flex;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    overflow: hidden;
    width: 160px;
    cursor: pointer;
}

.toggle-option {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    background: white;
    transition: 0.2s;
}

.toggle-option.active {
    background: var(--color-primary);
    color: white;
    font-weight: bold;
}

/* AIエリア */
.ai-panel {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* AI最善手エリア */
#ai-result {
    font-weight: bold;
}

/* パネル共通 */
.panel {
    background: var(--color-panel);
    border: 1px solid var(--gray);
    border-radius: 10px;
    padding: 12px;
}

/* 見出し */
.panel-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

/* オプション1行 */
.options-row {
    display: 120px;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* ラベル */
.options-row label {
    font-size: 14px;
    min-width: 90px;
}

/* select */
.options-row select {
    flex: 1;
    padding: 4px;
}

/* リザルト */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-line {
    margin-bottom: 8px;
    font-weight: bold;
}

/* ログ */
#log-output {
    width: 100%;
    height: 250px;
    resize: none;
    font-family: monospace;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
}
