/* 👍 초간단 조합 추천 게시판 & 관리자 ⚡딸깍 뷰 */
.suggestion-view-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px 14px;
  gap: 10px;
}

.suggestion-top-bar {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.suggestion-pot-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.suggest-submit-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.suggest-submit-btn:disabled {
  background: #334155;
  color: #64748b;
  cursor: not-allowed;
}

.suggestion-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}

/* 주조실 슬롯 카드와 동일한 UI + 가장 오른쪽 끝 위/아래 👍👎 배치 */
.suggestion-row-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.suggestion-items-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.pot-slot.sug-slot-card {
  width: 74px;
  min-width: 70px;
  height: 68px;
  cursor: default;
  flex-shrink: 0;
}

.pot-slot.sug-slot-card:active {
  transform: none;
}

.suggestion-actions-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.vote-btn {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 58px;
  gap: 6px;
}

.vote-btn.up:hover, .vote-btn.up.voted {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.vote-btn.down:hover, .vote-btn.down.voted {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.admin-apply-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.admin-apply-btn:hover {
  transform: scale(1.04);
}


.admin-inspect-btn {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border: none;
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}
.admin-inspect-btn:hover {
  transform: scale(1.04);
}

/* 🔬 레시피 스마트 분석 & 아이콘 검증 모달 (RecipeInspectorModalView) */
.recipe-inspector-card {
  max-width: 640px;
  max-height: 92vh;
  padding: 16px;
  gap: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
}

.insp-modal-header {
  border-bottom: 1px solid #1e293b;
  padding-bottom: 10px;
}

.insp-top-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #334155;
  gap: 10px;
}

.insp-slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.insp-slot-card {
  width: 62px;
  min-width: 60px;
  height: 58px;
}

.insp-slot-card .slot-emoji {
  font-size: 1.15rem;
}

.insp-slot-card .slot-name {
  font-size: 0.62rem;
}

.insp-votes-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.insp-tab-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #334155;
  padding-bottom: 6px;
}

.insp-tab-btn {
  flex: 1;
  padding: 8px 12px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.insp-tab-btn.active {
  background: #0284c7;
  color: #f8fafc;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.insp-tab-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: calc(88vh - 210px);
  padding-right: 4px;
}

/* 탭 1: 분석 */
.insp-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.insp-metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.insp-metric-label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
}

.insp-metric-value {
  font-size: 1.05rem;
  font-weight: 900;
}

.insp-metric-sub {
  font-size: 0.62rem;
  color: #64748b;
}

.insp-callout-box {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
}

.insp-section-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #94a3b8;
  margin-top: 4px;
}

.insp-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insp-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 6px 10px;
}

.insp-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.insp-tag.leaf {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.insp-tag.combo {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.insp-tag.new {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.insp-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.insp-status-badge.ok {
  color: #10b981;
}

.insp-status-badge.warn {
  color: #ef4444;
}

.insp-config-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insp-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.insp-input-row label {
  font-size: 0.76rem;
  color: #e2e8f0;
  font-weight: 700;
}

.insp-text-input {
  flex: 1;
  max-width: 260px;
  background: #0f172a;
  border: 1px solid #475569;
  border-radius: 6px;
  color: #f8fafc;
  padding: 5px 8px;
  font-size: 0.78rem;
}

.insp-number-input {
  width: 70px;
  background: #0f172a;
  border: 1px solid #475569;
  border-radius: 6px;
  color: #f8fafc;
  padding: 5px 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.insp-shift-info {
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1.4;
}

/* 탭 2: 아이콘 & 미니게임 프리뷰 */
.insp-icon-editor-row {
  display: flex;
  gap: 12px;
}

.insp-icon-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px;
  min-width: 150px;
}

.insp-preview-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
}

.insp-canvas-board {
  padding: 4px;
  background: #090d16;
  border-radius: 8px;
  border: 1px solid #334155;
}

.insp-canvas-pixelated {
  image-rendering: pixelated;
  display: block;
}

.insp-btn-gen {
  width: 100%;
  padding: 6px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 6px;
  color: #f8fafc;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}
.insp-btn-gen:hover {
  background: #475569;
}

.insp-svg-editor-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px;
}

.insp-svg-code {
  flex: 1;
  min-height: 140px;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #38bdf8;
  font-family: monospace;
  font-size: 0.7rem;
  line-height: 1.4;
  padding: 8px;
  resize: vertical;
}

.insp-minigame-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.insp-mg-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insp-mg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f8fafc;
}

.insp-mg-tag {
  font-size: 0.62rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
}

.insp-mg-canvas-wrap {
  width: 100%;
  aspect-ratio: 200 / 140;
  background: #090d16;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insp-mg-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.insp-mg-desc {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.3;
}

.insp-action-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #1e293b;
}

.insp-btn-cancel {
  padding: 8px 14px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.insp-btn-promote {
  padding: 9px 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: transform 0.15s ease;
}
.insp-btn-promote:hover {
  transform: scale(1.02);
}
