/* 담적 상세페이지*/
	.bar.after{height:calc(320px * 0.2);}
	.bar.before{ height: calc(320px * 0.60);}
	.circle-badge{ left: 257px;  top: 80px;}
	.arrow-image-wrapper{  transform: rotate(93deg); left: 160px;}

.byun_top_img p{	
    margin: 0 auto;
	background:#1a1b1c;
	    z-index: 2;
    position: relative;
}
	
.byunbi_container{
	    top: -30px;
    z-index: 1;
}
	

.byun_box h3{
    padding: 20px 0px 30px;
}

.byunbi-list{

}
.byunbi-list h2 strong {

}



.ghamin_topbox{ 
background: #f3f4f8;
background: #f7f8fc;
background: #f4f5f7;
}

	
/* 담적 말풍선 */
	.byunbi_container .badge-1{
	    background: url(/data/skin/front/pure/img/byunhom/damjuck/pungsun01.png);
    width: 346px;
    height: 135px;
    padding: 25px;
    border-radius: 0px;
	top:250px;
}

.byunbi_container .badge-1 h4{	
	color: #000;
    font-weight: 500;
    line-height: 1.3;
    position: relative;
    top: 30px;
    left: 30px;
}
	
.byunbi_container .badge-2{
	    background: url(/data/skin/front/pure/img/byunhom/damjuck/pungsun02.png);
    width: 346px;
    height: 135px;
    padding: 25px;
    border-radius: 0px;
	top:50px;
}	
	
	
.byunbi_container .badge-2 h4{	
	color: #000;
    font-weight: 500;
    line-height: 1.3;
    position: relative;
    top: 30px;
    left: 106px;
}
	

/* 그래프 왼쪽 */
	
.chart-container_left {
  padding: 25px; /* 양옆 패딩을 살짝 줄여 여백 확보 */
  height: auto;       /* height: 550px 지우고 auto로 변경 */
}


.chart-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 50px;
}
	
	
	
/*체온*/	
/* 500px 고정 컨테이너 */
.vas-container {

}
.vas-gradient-bar {
  height: 8px;
  background: linear-gradient(to right, #56ccf2 0%, #6fcf97 20%, #aed581 40%, #ffe082 60%, #ffb74d 80%, #eb5757 100%);
  border-radius: 5px; position: relative; margin: 0 6px 40px 6px;
}
.vas-gradient-bar span {
  position: absolute; top: -20px; transform: translateX(-50%);
  font-weight: 700; color: #868e96; font-size: 10px;
}

.vas-cards-grid {
  display: grid; 
  grid-template-columns: repeat(6, 1fr); /* PC에서는 6열 유지 */
  gap: 10px; 
  align-items: stretch; /* 카드 높이를 일정하게 맞춤 */
}

.vas-card-wrapper {
 flex-direction: column; align-items: center; width: 100%;
} /* display: flex; */

.status-badge {
  font-size: 10px; font-weight: 800; padding: 3px 2px;
  border-radius: 4px; margin-bottom: 5px; text-align: center;
  width: 100%; white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
	bottom: 20px;
    position: relative;
}
.status-badge.after-treatment { 
	background: #e3faf2;
	font-size: 18px;
	color: #0ca678; }
.status-badge.before-treatment { 
background: #fff5f5;
    color: #c92a2a;
    font-size: 18px;
    
}
.status-badge.empty { height: 20px; background: transparent; opacity: 1; transform: none; }


.vas-card {
  box-sizing: border-box;
  display: flex; /* 주석 해제하여 내부 정렬 활성화 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  padding: 15px 5px 10px 5px; /* 내부 여백 조절 */
}



.emoji { font-size: 22px; }
.score {
  font-size: 15px; font-weight: 800; color: #495057;
  background: #f1f3f5; padding: 1px 5px; border-radius: 10px; margin: 4px 0;
}

.description {
  font-size: 13px; /* 모바일 고려해 폰트 살짝 축소 */
  padding-top: 10px;
}


/* ===================================================
   📱 모바일 화면 (화면 폭 600px 이하) 반응형 레이아웃 
   =================================================== */
@media screen and (max-width: 600px) {
  /* 한 줄에 6개 배치하던 것을 3개씩 2줄로 정렬 */
  .vas-cards-grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px 8px; /* 위아래 간격을 넓혀줌 */
  }

  /* 치료 전/후 배지가 카드 위에서 겹치지 않도록 위치 조정 */
  .status-badge {
    position: static; /* 부모 영역을 부수고 나가지 않게 고정 해제 */
    margin-bottom: 5px;
    font-size: 14px !important; /* 모바일에서 보기 좋은 크기 */
  }
  
  /* 6번 카드가 붕 떠 있는 현상(image_896b03.png 참고)을 평평하게 맞춰줌 */
  .vas-card.anim-before, .vas-card.anim-after {
    transform: none; 
  }
  
  /* 상단 그라데이션 바의 숫자들이 겹치면 아예 숨기거나 간격 조정 */
  .vas-gradient-bar {
    margin-bottom: 25px;
  }
  .vas-gradient-bar span {
    font-size: 9px;
  }
}

/* 더 작은 초소형 모바일 화면 (화면 폭 360px 이하) */
@media screen and (max-width: 360px) {
  /* 한 줄에 2개씩 떨어지도록 설정 */
  .vas-cards-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

.vas-card.anim-before {
  border-top: 4px solid #eb5757;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.vas-card.anim-after {
  border-top: 4px solid #56ccf2;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.note { font-size: 11px; text-align: center; padding-top: 14px; color: #858585; }