/**************************/
/* 状態タグ（一覧表示）*/
/**************************/
.skill-effect-tag {
    display: inline-block;
    white-space: nowrap;
    padding: 2px 6px;
    margin: 2px;
    border-radius: 4px;
}

/**************************/
/* 状態検索UI */
/**************************/
.skill-effect-groups {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.skill-effect-group {
    min-width: 150px;
}

.skill-effect-initial {
    font-weight: bold;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px 6px;
    margin-top: 8px;

    position: sticky;
    top: 0;
}

/**************************/
/* 選択済み状態表示効果 */
/**************************/
.selected-skill-effects {
    margin: 10px 0;
}

.selected-skill-effect-tag {
    display: inline-block;
    margin: 2px;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #eee;
    cursor: pointer;
}

/**************************/
/* 状態詳細 */
/**************************/

.skill-effect-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.detail-block {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}


/* 状態名 */
.detail-block .effect-name {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
}


/* 詳細行 */
.detail-row {
    display: flex;
    margin-bottom: 4px;
}

.detail-label {
    width: 70px;
    font-weight: bold;
    color: #666;
}

.detail-value {
    flex: 1;
}

/*＋状態詳細ボタン*/
.add-detail-btn {
    margin: 16px 0;
}

/**************************/
/* 状態カテゴリ色 */
/**************************/
.category-benefit {
    color: #2e8b57;
    font-weight: bold;
}

.category-debuff {
    color: #dc143c;
    font-weight: bold;
}

.category-holy {
    color: #1e90ff;
    font-weight: bold;
}

.category-sin {
    color: #ffb300;
    font-weight: bold;
}

.category-special {
    color: #666666;
    font-weight: bold;
}

.category-disaster {
    color: #8a2be2;
    font-weight: bold;
}

/**************************/
/* スマホ：状態検索UI */
/**************************/
@media (max-width: 768px) {
    .skill-effect-groups {
        flex-direction: column;
        gap: 10px;
    }
}