/* === 辞典エンリッチメント表示 === */

/* カテゴリバッジ */
.dict-category-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0 20px;
}
.dict-cat-akami { background: #c0392b; }
.dict-cat-shiromi { background: #7f8c8d; }
.dict-cat-hikarimono { background: #2980b9; }
.dict-cat-ebi_kani { background: #e74c3c; }
.dict-cat-ika_tako { background: #8e44ad; }
.dict-cat-kai { background: #d35400; }
.dict-cat-tamago_other { background: #f39c12; }
.dict-cat-gunkan { background: #16a085; }
.dict-cat-roll { background: #27ae60; }

/* 情報テーブル */
.dict-info-table {
    margin: 20px 0 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}
.dict-info-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}
.dict-info-row:last-child {
    border-bottom: none;
}
.dict-info-label {
    width: 130px;
    min-width: 130px;
    padding: 12px 16px;
    background: #f8f8f8;
    font-weight: bold;
    font-size: 14px;
    border-right: 1px solid #e0e0e0;
}
.dict-info-value {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.7;
}
.dict-info-desc {
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

/* 別名リスト */
.dict-alt-names {
    list-style: none !important;
    padding: 0 !important;
}
.dict-alt-names li {
    padding: 6px 0;
    border-bottom: 1px dotted #ddd;
}
.dict-alt-names li:last-child {
    border-bottom: none;
}
.dict-alt-names span {
    color: #888;
    font-size: 13px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .dict-info-row {
        flex-direction: column;
    }
    .dict-info-label {
        width: 100%;
        min-width: unset;
        padding: 8px 12px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .dict-info-value {
        padding: 8px 12px;
    }
}
