/* 🧊 내 냉장고 술 조합 추천기 & 랜덤 고르기 스타일 */
.fridge-view-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 12px 14px 20px;
  gap: 12px;
}

.fridge-box {
  background: linear-gradient(180deg, #162238 0%, #0f172a 100%);
  border: 1px solid #38bdf8;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fridge-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fridge-title {
  font-size: 0.88rem;
  font-weight: 900;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fridge-quick-btns {
  display: flex;
  gap: 6px;
}

.fridge-mini-btn {
  background: #1e293b;
  border: 1px solid #475569;
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.fridge-mini-btn:hover {
  border-color: #38bdf8;
  color: #fff;
}

.fridge-ing-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 4px 2px;
}

.fridge-ing-chip {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.fridge-ing-chip.checked {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.fridge-check-mark {
  position: absolute;
  top: 3px;
  right: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #38bdf8;
  color: #0b1120;
  font-size: 0.62rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 추천 결과 & 랜덤 고르기 영역 */
.fridge-result-section {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fridge-filter-tabs {
  display: flex;
  gap: 6px;
}

.fridge-filter-tab {
  flex: 1;
  padding: 6px 10px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fridge-filter-tab:hover {
  border-color: #64748b;
  color: #f1f5f9;
}

.fridge-filter-tab.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #6ee7b7;
}

.fridge-no-full-match-card {
  background: #0f172a;
  border: 1px dashed #475569;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  margin: 4px 0;
}

.random-pick-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35);
  transition: transform 0.15s ease, opacity 0.2s;
}

.random-pick-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.random-pick-btn:disabled {
  background: #334155;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

.fridge-match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fridge-recipe-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fridge-recipe-card.suggestion-origin {
  cursor: default;
  border-color: #1e3a8a;
}

.fridge-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.fridge-match-pill {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.fridge-match-pill.full {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10b981;
  color: #6ee7b7;
}

.fridge-match-pill.partial {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #7dd3fc;
}

.online-sug-badge {
  font-size: 0.64rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid #3b82f6;
  color: #93c5fd;
}

.pot-slot.fridge-missing-slot {
  opacity: 0.45;
  border-style: dashed;
  border-color: #475569;
}

.fridge-recipe-card:hover {
  border-color: #a855f7;
  background: #172554;
}

.fridge-recipe-card.highlighted-winner {
  border: 2px solid #f59e0b;
  background: rgba(245, 158, 11, 0.16);
  animation: pulseGlow 1.2s infinite;
}

.spoiler-protect-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.72rem;
  color: #fcd34d;
  text-align: center;
  font-weight: 700;
}

.fridge-recipe-name {
  font-size: 0.88rem;
  font-weight: 900;
  color: #f8fafc;
  white-space: nowrap;
  word-break: keep-all;
}

.fridge-recipe-card .suggestion-items-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.fridge-recipe-card .pot-slot.sug-slot-card {
  width: 68px !important;
  min-width: 66px !important;
  height: 64px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}


