/* お気に入りの組み合わせ（favorite-combinations.js） */
.fav-section { margin: 14px 0; padding: 12px 14px; border: 1px solid #f0c36d; border-radius: 8px; background: #fffbf0; text-align: left; }
.fav-section h2, .fav-section h3 { margin: 0 0 6px; font-size: 16px; color: #8a5a00; }
.fav-note { font-size: 12px; color: #666; margin: 4px 0; }
.fav-status { font-size: 13px; color: #b85c00; margin: 6px 0 0; min-height: 1em; white-space: pre-wrap; }
.fav-balls { display: inline-flex; gap: 3px; flex-wrap: wrap; vertical-align: middle; }
.fav-ball { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #eef2f7; font-weight: bold; font-size: 12px; }
.fav-register-list { margin: 6px 0; padding-left: 22px; }
/* 詳細画面の button のスタイル（幅・ブロック表示）に引きずられないよう、行ごとに横並びにする */
.fav-register-list li { margin: 4px 0; }
.fav-register-list li > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fav-star { display: inline-block; width: auto; margin: 0; padding: 3px 10px; border: 1px solid #e0a800; border-radius: 14px; background: #fff; color: #8a5a00; cursor: pointer; font-size: 12px; }
.fav-star.on { background: #ffe8a3; border-color: #e0a800; cursor: default; }
.fav-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.fav-table th, .fav-table td { border: 1px solid #e6dcc4; padding: 6px; vertical-align: middle; }
.fav-table th { background: #fff3d6; font-weight: normal; }
.fav-table td:first-child, .fav-table th:first-child { width: 32px; text-align: center; }
.fav-src { display: block; color: #888; font-size: 11px; margin-top: 2px; }
.fav-comment { width: 100%; box-sizing: border-box; font: inherit; font-size: 12px; padding: 4px 6px; border: 1px solid #ccc; border-radius: 4px; }
.fav-small { margin-top: 3px; padding: 3px 8px; font-size: 12px; border: 1px solid #aab; border-radius: 4px; background: #fff; cursor: pointer; }
.fav-danger { color: #a03131; border-color: #d9a3a3; }
.fav-save { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; }
.fav-save select { margin-left: 4px; padding: 3px 6px; }
.fav-primary { padding: 8px 12px; border: none; border-radius: 6px; background: #ff7a22; color: #fff; font-weight: bold; cursor: pointer; }
.fav-primary:disabled { background: #ccc; cursor: default; }
.fav-toggle { display: block; width: 100%; text-align: left; padding: 4px 0; border: none; background: none; font-size: 16px; font-weight: bold; color: #8a5a00; cursor: pointer; }
.fav-memo { display: flex; gap: 6px; align-items: center; }
.fav-memo .fav-comment { flex: 1; }
.fav-memo .fav-small { margin-top: 0; white-space: nowrap; }
