/* 천명 - 사주팔자 운세 사이트 스타일 v4 (전체 완성) */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(135deg, #0f0520 0%, #1a0a2e 30%, #1e1145 60%, #0f0520 100%);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 50% 60%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.2), transparent),
    radial-gradient(2px 2px at 70% 50%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 90%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.35), transparent);
  pointer-events: none; z-index: 0;
}

#app { position: relative; z-index: 1; }

/* Glass card */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.glass-card-hover:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(147,51,234,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(147,51,234,0.2);
}

/* 오행 색상 */
.ohang-목 { background: rgba(22,101,52,0.8); color: #fff; }
.ohang-화 { background: rgba(153,27,27,0.8); color: #fff; }
.ohang-토 { background: rgba(133,77,14,0.8); color: #fff; }
.ohang-금 { background: rgba(203,213,225,0.8); color: #1e293b; }
.ohang-수 { background: rgba(30,64,175,0.8); color: #fff; }

/* 사주 명식 테이블 */
.saju-table {
  display: grid;
  grid-template-columns: 50px repeat(4, 1fr);
  gap: 3px;
  max-width: 520px;
  margin: 0 auto;
}
.saju-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 6px; border-radius: 10px; font-weight: 600; min-height: 65px;
}
.saju-cell.header {
  background: rgba(147,51,234,0.15); font-size: 0.7rem; color: #c084fc;
  min-height: 36px; font-weight: 500;
}
.saju-cell.unseong {
  background: rgba(255,255,255,0.03); font-size: 0.7rem; min-height: 36px; color: #a78bfa;
}
.saju-cell .hanja { font-size: 1.6rem; font-family: 'Noto Serif KR', serif; font-weight: 700; line-height: 1.2; }
.saju-cell .hangul { font-size: 0.7rem; opacity: 0.85; margin-top: 2px; }
.saju-cell .sipseong { font-size: 0.6rem; opacity: 0.7; margin-top: 2px; }

/* 탭 네비게이션 */
.tab-nav {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.05); border-radius: 12px; padding: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  flex: 1; padding: 10px 16px; border: none; border-radius: 10px;
  background: transparent; color: #9ca3af; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap; min-width: max-content;
}
.tab-btn.active {
  background: rgba(147,51,234,0.3); color: #e9d5ff;
  box-shadow: 0 2px 10px rgba(147,51,234,0.2);
}
.tab-btn:hover:not(.active) { background: rgba(255,255,255,0.05); color: #d1d5db; }

/* 대운 타임라인 */
.daeun-timeline {
  display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.daeun-timeline::-webkit-scrollbar { height: 4px; }
.daeun-timeline::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
.daeun-timeline::-webkit-scrollbar-thumb { background: rgba(147,51,234,0.4); border-radius: 4px; }
.daeun-card {
  flex-shrink: 0; text-align: center; padding: 10px 12px; border-radius: 12px; min-width: 80px;
  position: relative;
}
.daeun-current { box-shadow: 0 0 20px rgba(147,51,234,0.4); }
.current-badge {
  position: absolute; top: -6px; right: -6px;
  background: #9333ea; color: white; font-size: 0.55rem; font-weight: 700;
  padding: 2px 6px; border-radius: 8px;
}

/* 세운 타임라인 (연간/월간) */
.seun-timeline {
  display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.seun-timeline::-webkit-scrollbar { height: 3px; }
.seun-timeline::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 3px; }
.seun-timeline::-webkit-scrollbar-thumb { background: rgba(147,51,234,0.3); border-radius: 3px; }
.seun-card {
  flex-shrink: 0; text-align: center; padding: 8px 10px; border-radius: 10px; min-width: 60px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.seun-card.seun-good { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
.seun-card.seun-bad { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.08); }
.seun-card.seun-current { box-shadow: 0 0 12px rgba(147,51,234,0.3); border-color: rgba(147,51,234,0.5); }

/* 오행 흐름 시각화 (대운·세운 합친 차트) */
.ohang-flow-chart {
  position: relative; width: 100%; height: 180px;
  background: rgba(255,255,255,0.02); border-radius: 12px;
  overflow: hidden;
}
.ohang-flow-chart canvas { width: 100% !important; height: 100% !important; }

/* 성별 버튼 */
.gender-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 12px; cursor: pointer; transition: all 0.3s;
  background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1);
  color: #9ca3af; font-size: 0.9rem; font-weight: 500;
}
.gender-btn.active {
  border-color: #9333ea; background: rgba(147,51,234,0.15); color: white;
}
.gender-btn:hover:not(.active) { border-color: rgba(255,255,255,0.3); }

/* 달력 유형 버튼 */
.calendar-btn {
  padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: all 0.3s;
  background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1);
  color: #9ca3af; font-size: 0.8rem; font-weight: 500; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.calendar-btn.active {
  border-color: #9333ea; background: rgba(147,51,234,0.15); color: white;
}
.calendar-btn:hover:not(.active) { border-color: rgba(255,255,255,0.3); }

/* 시간 모드 버튼 */
.time-mode-btn {
  padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: all 0.3s;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #9ca3af; font-size: 0.75rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.time-mode-btn.active {
  border-color: #7c3aed; background: rgba(124,58,237,0.15); color: #c4b5fd;
}

/* 정보 노트 */
.info-note {
  font-size: 0.75rem; color: #9ca3af; padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border-left: 3px solid #6b7280;
}

/* 라벨 */
.label-text { font-size: 0.75rem; color: #9ca3af; margin-bottom: 4px; display: block; }

/* 섹션 제목 */
.section-title { font-size: 0.85rem; font-weight: 600; color: #c4b5fd; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

/* 오행 바 차트 */
.ohang-bar-container { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.ohang-bar { height: 22px; border-radius: 11px; transition: width 0.8s ease; min-width: 4px; }
.ohang-label { width: 22px; text-align: center; font-weight: 700; font-size: 0.85rem; }
.ohang-value { width: 70px; text-align: right; font-size: 0.75rem; opacity: 0.8; white-space: nowrap; }

/* 용신 박스 */
.yongsin-box {
  padding: 12px; border-radius: 12px; background: rgba(147,51,234,0.08);
  border: 1px solid rgba(147,51,234,0.2); font-size: 0.8rem; color: #d1d5db;
}

/* 합충형파해 아이템 */
.hapchung-item {
  padding: 8px 12px; border-radius: 8px; margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.hapchung-badge {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}

/* 신살 아이템 */
.sinsal-item {
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.02); margin-bottom: 6px;
}
.sinsal-badge { font-weight: 700; font-size: 0.8rem; }
.sinsal-type-badge {
  display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 0.6rem; font-weight: 600;
}

/* 운세 점수 원형 차트 */
.score-circle {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 700; position: relative;
}
.score-circle::before {
  content: ''; position: absolute; inset: 5px; border-radius: 50%; background: #1a0a2e;
}
.score-circle span { position: relative; z-index: 1; }

/* 작은 스코어 원 (직장 적합성 등) */
.score-circle-sm {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; position: relative; flex-shrink: 0;
}
.score-circle-sm::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #1a0a2e;
}
.score-circle-sm span { position: relative; z-index: 1; }

/* 서브 스코어 카드 (일운) */
.sub-score-card {
  text-align: center; padding: 12px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s;
}
.sub-score-card:hover { transform: scale(1.03); }
.sub-score-value { font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.sub-score-label { font-size: 0.65rem; color: #9ca3af; margin-top: 2px; }
.sub-score-brief { font-size: 0.6rem; color: #6b7280; margin-top: 4px; line-height: 1.3; }
.sub-score-bar {
  margin-top: 6px; height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden;
}
.sub-score-bar > div { height: 100%; border-radius: 2px; transition: width 0.8s ease; }

/* 럭키 아이템 */
.lucky-card { border: 1px solid rgba(34,197,94,0.2); }
.lucky-item {
  padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,0.03);
}
.lucky-icon { font-size: 1.2rem; margin-bottom: 2px; }
.lucky-label { font-size: 0.6rem; color: #9ca3af; }
.lucky-value { font-size: 0.75rem; color: #d1d5db; font-weight: 600; margin-top: 2px; }

/* 성향 지표 (바 + 레이더 차트) */
.personality-grid { display: flex; flex-direction: column; gap: 6px; }
.personality-row {
  display: flex; align-items: center; gap: 8px;
}
.personality-icon { font-size: 1rem; width: 22px; text-align: center; }
.personality-label { font-size: 0.75rem; color: #9ca3af; width: 44px; flex-shrink: 0; }
.personality-bar-bg {
  flex: 1; height: 14px; background: rgba(255,255,255,0.05); border-radius: 7px; overflow: hidden;
}
.personality-bar {
  height: 100%; border-radius: 7px; transition: width 0.8s ease; min-width: 4px;
}
.personality-value { width: 28px; font-size: 0.75rem; font-weight: 700; text-align: right; }

/* 레이더 차트 컨테이너 */
.radar-chart-container {
  position: relative; width: 100%; max-width: 280px; margin: 0 auto;
  aspect-ratio: 1;
}
.radar-chart-container canvas { width: 100% !important; height: 100% !important; }

/* 피드백/평가 위젯 */
.feedback-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 16px; text-align: center;
}
.feedback-stars {
  display: inline-flex; gap: 6px; margin: 8px 0;
}
.feedback-star {
  font-size: 1.8rem; cursor: pointer; transition: all 0.2s;
  color: rgba(255,255,255,0.15); filter: grayscale(1);
}
.feedback-star:hover, .feedback-star.active {
  color: #fbbf24; filter: grayscale(0); transform: scale(1.15);
}
.feedback-note {
  font-size: 0.7rem; color: #6b7280; margin-top: 4px;
}
.feedback-submitted {
  font-size: 0.85rem; color: #22c55e; font-weight: 500;
}

/* 운세 카테고리 카드 */
.fortune-cat-card { transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden; }
.fortune-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(147,51,234,0.3); }
.cat-badge {
  position: absolute; top: 8px; right: 8px;
  background: linear-gradient(135deg, #f59e0b, #ef4444); color: white;
  font-size: 0.55rem; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

/* 섹션 타입별 왼쪽 보더 */
.section-positive { border-left: 3px solid #22c55e; }
.section-negative { border-left: 3px solid #ef4444; }
.section-neutral { border-left: 3px solid #eab308; }
.section-info { border-left: 3px solid #60a5fa; }
.section-warning { border-left: 3px solid #f97316; }

/* 글로우 효과 */
.glow-purple { box-shadow: 0 0 30px rgba(147,51,234,0.25); }
.glow-green { box-shadow: 0 0 25px rgba(34,197,94,0.15); }
.glow-red { box-shadow: 0 0 25px rgba(239,68,68,0.15); }

/* 페이드 인 */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.5s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* 로딩 */
.loader {
  width: 50px; height: 50px;
  border: 3px solid rgba(147,51,234,0.2);
  border-top-color: #9333ea; border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 입력 필드 */
.input-field {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 12px 16px; color: white; font-size: 0.9rem;
  outline: none; transition: all 0.3s; width: 100%;
}
.input-field:focus { border-color: #9333ea; box-shadow: 0 0 15px rgba(147,51,234,0.3); }
select.input-field { appearance: none; -webkit-appearance: none; cursor: pointer; }
select.input-field option { background: #1a0a2e; color: white; }

/* 버튼 */
.btn-primary {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: white; padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(147,51,234,0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: white; padding: 10px 20px; border-radius: 12px;
  font-weight: 500; cursor: pointer; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem;
}
.btn-outline:hover { border-color: #9333ea; background: rgba(147,51,234,0.1); }

.btn-sm {
  padding: 6px 12px; font-size: 0.75rem; border-radius: 8px;
}

/* 운세 콘텐츠 */
.fortune-content strong { color: #fff; }

/* details/summary */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: '▶ '; font-size: 0.6rem; }
details[open] summary::before { content: '▼ '; }

/* 토스트 알림 */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: rgba(34,197,94,0.9); color: white; padding: 12px 24px;
  border-radius: 12px; font-size: 0.85rem; font-weight: 500;
  z-index: 9998; opacity: 0; transition: opacity 0.3s;
  backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; }

/* 월별 미니 바 차트 */
.monthly-bar-row {
  display: flex; align-items: center; gap: 6px; padding: 3px 0;
}
.monthly-bar-label { width: 32px; font-size: 0.7rem; color: #9ca3af; text-align: right; flex-shrink: 0; }
.monthly-bar-track { flex: 1; height: 16px; background: rgba(255,255,255,0.03); border-radius: 8px; overflow: hidden; position: relative; }
.monthly-bar-fill { height: 100%; border-radius: 8px; transition: width 0.6s ease; display: flex; align-items: center; justify-content: flex-end; padding-right: 4px; }
.monthly-bar-fill span { font-size: 0.55rem; font-weight: 600; }
.monthly-bar-tag { width: 16px; font-size: 0.6rem; text-align: center; flex-shrink: 0; }

/* ===== 풀이과정(解釋過程) 스타일 ===== */
.interpretation-card {
  border: 1px solid rgba(251, 191, 36, 0.15);
  background: rgba(251, 191, 36, 0.03);
}
.interpretation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.interpretation-header:hover .interpretation-toggle {
  color: #fbbf24;
}
.interpretation-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.interpretation-body { overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; }
.interpretation-body.collapsed { max-height: 0; opacity: 0; pointer-events: none; }
.interpretation-body:not(.collapsed) { max-height: 5000px; opacity: 1; }

.interpretation-timeline { display: flex; flex-direction: column; gap: 12px; }

.interp-step {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.interp-step:hover { background: rgba(255,255,255,0.04); }
.interp-step.interp-positive { border-left-color: #22c55e; background: rgba(34,197,94,0.04); }
.interp-step.interp-negative { border-left-color: #ef4444; background: rgba(239,68,68,0.04); }
.interp-step.interp-info { border-left-color: #a855f7; background: rgba(168,85,247,0.04); }
.interp-step.interp-neutral { border-left-color: #eab308; background: rgba(234,179,8,0.04); }

.interp-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 42px;
  flex-shrink: 0;
}
.interp-step-icon { font-size: 1.3rem; }
.interp-step-num { font-size: 0.6rem; color: #6b7280; font-weight: 600; white-space: nowrap; }

.interp-step-content { flex: 1; min-width: 0; }
.interp-step-title { font-size: 0.82rem; font-weight: 700; color: #e2e8f0; margin-bottom: 6px; }
.interp-step-text { font-size: 0.75rem; color: #9ca3af; line-height: 1.6; }
.interp-step-text strong { color: #e2e8f0; font-weight: 600; }

.interp-data-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.interp-data-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  font-size: 0.68rem;
}
.interp-data-label { color: #6b7280; }
.interp-data-value { color: #d1d5db; font-weight: 600; }

.interp-conclusion {
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}

/* 명식 풀이과정 요약 (미니 버전) */
.interpretation-summary-card {
  border: 1px solid rgba(251, 191, 36, 0.12);
  background: rgba(251, 191, 36, 0.02);
}
.interp-mini-steps { display: flex; flex-direction: column; gap: 8px; }
.interp-mini-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.5;
  border-left: 2px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.interp-mini-step strong { color: #e2e8f0; font-weight: 600; }
.interp-mini-step.interp-positive { border-left-color: #22c55e; }
.interp-mini-step.interp-negative { border-left-color: #ef4444; }
.interp-mini-step.interp-info { border-left-color: #a855f7; }
.interp-mini-step.interp-neutral { border-left-color: #eab308; }
.interp-mini-marker {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 42px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.interp-mini-num {
  font-size: 0.6rem;
  color: #6b7280;
  font-weight: 700;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 반응형 */
@media (max-width: 640px) {
  .saju-table { grid-template-columns: 40px repeat(4, 1fr); gap: 2px; }
  .saju-cell .hanja { font-size: 1.2rem; }
  .saju-cell { padding: 6px 4px; min-height: 55px; }
  .saju-cell.header { min-height: 30px; font-size: 0.6rem; }
  .saju-cell .hangul { font-size: 0.6rem; }
  .saju-cell .sipseong { font-size: 0.55rem; }
  .daeun-card { min-width: 70px; padding: 8px 10px; }
  .sub-score-card { padding: 8px 4px; }
  .sub-score-value { font-size: 1.1rem; }
  .personality-label { width: 36px; font-size: 0.65rem; }
  .tab-btn { font-size: 0.72rem; padding: 8px 10px; }
  .tab-nav { gap: 2px; padding: 3px; }
  .gender-btn { padding: 10px 8px; font-size: 0.8rem; }
  .calendar-btn { padding: 8px 4px; font-size: 0.7rem; }
  .radar-chart-container { max-width: 220px; }
  .seun-card { min-width: 52px; padding: 6px 8px; }
  .feedback-star { font-size: 1.5rem; }
  .monthly-bar-label { width: 26px; font-size: 0.6rem; }
  .interp-step { padding: 10px; gap: 8px; }
  .interp-step-marker { min-width: 32px; }
  .interp-step-icon { font-size: 1rem; }
  .interp-step-title { font-size: 0.75rem; }
  .interp-step-text { font-size: 0.7rem; }
  .interp-data-item { font-size: 0.62rem; padding: 2px 6px; }
  .interp-mini-step { font-size: 0.7rem; padding: 6px 8px; }
  .interp-mini-marker { min-width: 32px; font-size: 0.75rem; }
}

/* ===== 콘셉트 B: XAI Report 스타일 ===== */
.xai-report-card { border-left: 3px solid #06b6d4; }
.xai-tabs { display: flex; gap: 4px; }
.xai-tab {
  flex: 1; padding: 8px 6px; font-size: 0.72rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: #94a3b8; cursor: pointer;
  transition: all 0.2s; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.xai-tab.active { background: rgba(6,182,212,0.15); border-color: rgba(6,182,212,0.4); color: #67e8f9; }
.xai-tab:hover { background: rgba(255,255,255,0.06); }
.xai-panel { animation: fadeIn 0.3s ease; }
.xai-panel.hidden { display: none; }

/* ===== 콘셉트 C: 체크인 위젯 스타일 ===== */
/* ===== 관계 상황 선택 버튼 ===== */
.rel-status-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.25s; text-align: left;
  color: #d1d5db;
}
.rel-status-btn:hover { background: rgba(236,72,153,0.06); border-color: rgba(236,72,153,0.3); }
.rel-status-btn.active { background: rgba(236,72,153,0.12); border-color: rgba(236,72,153,0.5); box-shadow: 0 0 12px rgba(236,72,153,0.15); }
.rel-status-btn.active .text-sm { color: #f9a8d4; }
.rel-status-icon { font-size: 1.4rem; width: 32px; text-align: center; flex-shrink: 0; }

/* ===== 직급 관계 선택 버튼 ===== */
.rel-role-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.25s; text-align: center;
  color: #d1d5db;
}
.rel-role-btn:hover { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.3); }
.rel-role-btn.active { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.5); box-shadow: 0 0 12px rgba(6,182,212,0.15); }
.rel-role-btn.active .text-sm { color: #67e8f9; }

.checkin-widget { border-left: 3px solid #10b981; }
.checkin-field { padding: 8px; background: rgba(255,255,255,0.03); border-radius: 8px; }
.checkin-field label { display: block; margin-bottom: 4px; }
.checkin-stars { display: flex; gap: 6px; justify-content: center; }
.checkin-star {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; cursor: pointer;
  background: rgba(255,255,255,0.05); color: #475569;
  transition: all 0.2s; border: 1px solid rgba(255,255,255,0.08);
}
.checkin-star.active { background: rgba(16,185,129,0.3); color: #34d399; border-color: #10b981; }
.checkin-star:hover { background: rgba(16,185,129,0.15); }

/* PDF 다운로드 버튼 */
.pdf-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.5) !important;
}
.pdf-download-btn:active {
  transform: translateY(0);
}
