.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{	
    width: 522px;
    margin: 0 auto;
    border-radius: 100px;
	background:#1a1b1c;
	    z-index: 2;
    position: relative;
}
	
.byunbi_container{
	    top: -30px;
    z-index: 1;
}
	
.byunbi_container img{
	border-radius: 30px;
    width: 1000px;
    height: 500px;
}	

	
.byunbi-list h2 strong {
    color:#996a41;
}
	
/* 담적 말풍선 */
	.byunbi_container .badge-1{
	    background: url(/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(/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 40px 20px 10px;
  width: 550px;
}
.chart-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.chart-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}
.row-label {
  width: 72px;
  text-align: right;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  background: var(--color-background-secondary);
  border-radius: 4px;
  position: relative;
 
  overflow: hidden;

	background-color: #e8e8e8;
    height: 60px;
    border-radius: 5px;
    overflow: visible;

}
.bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
}
.bar-before {
  background: #ad2541;
}
.bar-after {
  background: #60a7cf;
}
.bar-inner-label {
  position: absolute;
  left: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #e8edf5;
  white-space: nowrap;
}
.badge-circle {
	position: absolute;
    left: 260px;
    top: 300px;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #4690b9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease 1.1s;
}
	
.badge-circle.show { opacity: 0; }
.badge-top {
  font-size: 12px;
  color: #fff;
  line-height: 1;
}
	
.badge-num {
  font-size: 27px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
}
 

.bar-after-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
 	color: #25678d;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease 1.0s;
  /* z-index로 bar-fill 위에 표시 */
  z-index: 2;
font-size: 20px;
}
.bar-after-label.show { opacity: 1; }
 
.axis-row {
  display: flex;
  margin-top: 6px;
  padding-left: 82px;
}
.axis-labels {
  flex: 1;
  display: flex;
  justify-content: space-between;
}
.axis-label {
  font-size: 13px;
  color: var(--color-text-tertiary);
}
	
	
	
.damjuck_left{
	padding-top: 110px;
    padding-bottom: 110px;
}
	
	
/* 장누수 증상*/
	
.jangnusu_container {
   width: 1000px;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.jangnusu_container h2 {
letter-spacing: -1px;
    font-size: 43px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 20px;
 }
.jangnusu_container strong{
	color: #e03333;
}
	

        /* 장누수증후군 증상 영역 */
        #jangnusu_content-wrapper {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 500px;
			background: url(/img/byunhom/jangnusu/jangnusu_sang.png);
        }




        /* 주변 원형 증상 노드 공통 스타일 */
        .symptom-node {
        position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
    color: #272727;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.3;
    z-index: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
        }

        .symptom-node:hover {
            transform: scale(1.05);
        }

        /* 이미지 기준 고정 위치 맵핑 (TOP 4) */
        .pos-1 { top: 10px; left: 15%; }    /* 크론병 */
        .pos-2 { top: 10px; left: 35%; }   /* 궤양성대장염 */
        .pos-3 { top: 10px; right: 35%; }  /* 류마티스 관절염 */
        .pos-4 { top: 10px; right: 15%; }   /* 루푸스 */

        /* MIDDLE 4 */
        .pos-5 { top: 145px; left: 3%; }   /* 피부질환 */
        .pos-6 { top: 160px; left: 20%; }  /* 베체트병 */
        .pos-7 {top: 160px; right: 20%;} /* 브레인포그 */
        .pos-8 { top: 145px; right: 3%; }  /* 만성피로 */

        /* BOTTOM 2 */
        .pos-9 { bottom: 70px; left: 10%; }  /* 비만 */
        .pos-10 { bottom: 70px; right: 10%; } /* 심혈관질환*/

        /* 배경에 깔리는 은은한 원형 파동 효과 */
        .bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgb(255 43 43 / 5%) 70%);
    width: 500px;
    height: 400px;
    bottom: -50px;
    z-index: 0;
    pointer-events: none;
        }


	
/* 장누수증후군 애니메이션 */
 :root {
    --bg: #1a0a0a;
    --cell-body: #f4a07a;
    --cell-top: #e8896a;
    --cell-shadow: #c4603a;
    --tight-junction: #d45a3a;
    --brush-border: #f7c4a0;
    --blood: #c0392b;
    --blood-layer: #8b1a1a;
    --mucus: #fde8d8;
    --gap-color: #2d0808;
  }	
	
 .jangnusu_img{
	margin: 0 auto;
    width: 900px;
    padding-bottom: 40px;
    position: relative;

}
	
  .legend {
 display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 900px;
    position: absolute;
    top: 30px;
    z-index: 2;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: #e8c4a0;
  }
  .legend-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── 씬 컨테이너 ── */
  .scene {
    position: relative;
    width: 900px;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #1a0a0a 0%, #1a0a0a 55%, #3d0f0f 55%, #8b1a1a 75%, #c0392b 100%);
    border: 1px solid #3d1818;
    box-shadow: 0 0 60px rgba(180, 40, 40, 0.25);

  }

  /* ── 점액층 ── */
  .mucus-layer {
    position: absolute;
    top: 130px;
    left: 0; right: 0;
    height: 20px;
    pointer-events: none;
  }

  /* ── 장상피세포 ── */
  .epithelium {
    position: absolute;
    top: 190px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
  }

  .cell {
    position: relative;
    flex: 1;
    height: 120px;
    background: var(--cell-body);
    border-radius: 6px 6px 2px 2px;
    margin: 0 1px;
    transition: transform 1.5s cubic-bezier(0.4,0,0.2,1),
                margin   1.5s cubic-bezier(0.4,0,0.2,1),
                filter   1.5s ease;
    box-shadow: inset -3px 0 6px rgba(0,0,0,0.15),
                inset  3px 0 6px rgba(255,255,255,0.1);
  }

  /* 미세융모(brush border) */
  .cell::before {
    content: '';
    position: absolute;
    top: -18px; left: 4px; right: 4px;
    height: 20px;
    background: repeating-linear-gradient(
      90deg,
      var(--brush-border) 0px, var(--brush-border) 3px,
      transparent       3px, transparent       6px
    );
    border-radius: 3px 3px 0 0;
    opacity: 0.9;
  }

  /* 밀착연접 (tight junction) */
  .cell::after {
    content: '';
    position: absolute;
    top: 8px;
    left: -3px; right: -3px;
    height: 6px;
    background: var(--tight-junction);
    border-radius: 3px;
    transition: opacity 1.5s ease, transform 1.5s ease;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }

  /* 세포핵 */
  .nucleus {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px; height: 22px;
    background: radial-gradient(circle at 40% 35%, #e86030, #b03010);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(180,60,20,0.6);
  }

  /* ── 파열 상태 ── */
  .scene.ruptured .cell:nth-child(2n) {
    transform: translateX(-8px) rotate(-1.5deg);
    margin-right: 18px;
    filter: brightness(0.85);
  }
  .scene.ruptured .cell:nth-child(2n+1) {
    transform: translateX(4px) rotate(1deg);
    filter: brightness(0.85);
  }
  .scene.ruptured .cell::after {
    opacity: 0.15;
    transform: scaleX(1.3);
  }

  /* ── 혈관층 ── */
  .blood-layer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 90px;
    background: linear-gradient(180deg, #8b1a1a, #c0392b);
    overflow: hidden;
  }

  .blood-cell {
    position: absolute;
    width: 24px; height: 14px;
    background: radial-gradient(ellipse, #e74c3c 60%, #922b21);
    border-radius: 50%;
    opacity: 0.8;
    animation: floatBlood linear infinite;
  }

  @keyframes floatBlood {
    from { transform: translateX(-30px); }
    to   { transform: translateX(calc(min(700px, 96vw) + 30px)); }
  }

  /* ── 침투 입자들 ── */
  .particle {
    position: absolute;
    border-radius: 50%;
    font-size: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
  }

  /* 글루텐 — 초록 물결 모양 */
  .particle.gluten {
    width: 14px; height: 8px;
    background: linear-gradient(135deg, #6bcb77, #4caf50);
    border-radius: 50% 20% 50% 20%;
    box-shadow: 0 0 6px rgba(76,175,80,0.8);
  }

  /* 카제인 — 하늘색 점 */
  .particle.casein {
    width: 10px; height: 10px;
    background: radial-gradient(circle, #81d4fa, #039be5);
    box-shadow: 0 0 6px rgba(3,155,229,0.8);
  }

  /* 독소 — 보라색 막대 */
  .particle.toxin {
    width: 16px; height: 7px;
    background: linear-gradient(90deg, #ce93d8, #9c27b0);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(156,39,176,0.8);
  }

  /* 병원균 — 주황 올챙이 */
  .particle.pathogen {
    width: 10px; height: 10px;
    background: radial-gradient(circle at 40% 35%, #ffb74d, #f57c00);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(245,124,0,0.8);
  }
  .particle.pathogen::after {
    content: '';
    position: absolute;
    right: -7px; top: 3px;
    width: 8px; height: 3px;
    background: #f57c00;
    border-radius: 0 50% 50% 0;
    transform: rotate(15deg);
  }

  /* 입자 낙하 애니메이션 */
  @keyframes fallThrough {
    0%   { opacity: 0; transform: translateY(0)   rotate(0deg); }
    10%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(220px) rotate(360deg); }
  }

  /* 파동 효과 */
  @keyframes ripple {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
  }

  .ripple {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid #ff6b6b;
    border-radius: 50%;
    pointer-events: none;
    animation: ripple 0.8s ease-out forwards;
    z-index: 20;
  }

  /* ── 상태 레이블 ── */
  .status-label {
    position: absolute;
    top: 70px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #f9d0b4;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(244,160,122,0.3);
    white-space: nowrap;
    transition: color 0.5s;
    z-index: 30;
  }
  .scene.ruptured .status-label {
    color: #ff6b6b;
    border-color: rgba(255,107,107,0.5);
  }

  /* ── 화살표 라벨 (세포 위 침투 표시) ── */
  .gap-arrow {
    position: absolute;
    top: 120px;
    width: 7px;
    height: 0;
    background: rgb(239 98 98);
    z-index: 15;
    transition: height 1.5s ease;
    transform: translateX(-50%);
  }
  .gap-arrow::after {
content: '▼';
    position: absolute;
    bottom: -15px;
    left: -7px;
    color: rgb(239 98 98);
    font-size: 20px;
  }
  .scene.ruptured .gap-arrow {
    height: 40px;
  }

  /* ── 버튼 ── */
  .controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }

  button {
    padding: 10px 28px;
    border: none;
    border-radius: 40px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  button:hover { transform: translateY(-2px); }
  button:active { transform: translateY(0); }

  #btnRupture {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
  }
  #btnRestore {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
    box-shadow: 0 4px 20px rgba(39,174,96,0.4);
  }

  /* ── 설명 텍스트 ── */
  .info {
    margin-top: 16px;
    font-size: 0.68rem;
    color: #8a5a4a;
    text-align: center;
    max-width: 600px;
    line-height: 1.6;
  }

  /* ── 배경 부유 먼지 ── */
  .dust {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatDust linear infinite;
  }
  @keyframes floatDust {
    0%   { transform: translateY(0)   translateX(0); opacity: 0; }
    20%  { opacity: 0.3; }
    80%  { opacity: 0.3; }
    100% { transform: translateY(-120px) translateX(20px); opacity: 0; }
  }
	

/* --- CSS Particle Loop Animation Added --- */
.particle {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  top: 100px;
  opacity: 0;
  pointer-events: none;
}

.ruptured .particle {
  animation: cssFallThrough 2.5s infinite linear;
}

.particle.gluten    { background: #4caf50; box-shadow: 0 0 6px #4caf50; }
.particle.casein    { background: #039be5; box-shadow: 0 0 6px #039be5; }
.particle.toxin     { background: #9c27b0; box-shadow: 0 0 6px #9c27b0; }
.particle.pathogen { background: #f57c00; box-shadow: 0 0 6px #f57c00; }

@keyframes cssFallThrough {
	0% {
    top: 100px;
    opacity: 0;
    transform: scale(0.8);
  }
  15% {
    opacity: 0.9;
  }
  40% {
    opacity: 1;
    transform: scale(1) translateY(50px);
  }
  100% {
    top: 240px;
    opacity: 0;
    transform: scale(0.9) translateY(140px);
  }
}

/* 첫번째 틈새 부근 (좌측) */
.p-1  { left: 20%;  animation-delay: 0.2s !important; }
.p-2  { left: 19%;  animation-delay: 1.1s !important; }
.p-3  { left: 22%;  animation-delay: 2.0s !important; }


/* 두번째 틈새 부근 (중좌측) */
.p-4  { left: 42%;  animation-delay: 0.5s !important; }
.p-5  { left: 43%;  animation-delay: 1.4s !important; }
.p-6  { left: 44%;  animation-delay: 2.3s !important; }

/* 세번째 틈새 부근 (중우측) */
.p-7  { left: 64%;  animation-delay: 0.8s !important; }
.p-8  { left: 65%;  animation-delay: 1.7s !important; }
.p-9  { left: 67%;  animation-delay: 0.3s !important; }

/* 네번째 틈새 부근 (우측) */
.p-10 { left: 87%;  animation-delay: 1.2s !important; }
.p-11 { left: 86%;  animation-delay: 2.5s !important; }
.p-12 { left: 88%;  animation-delay: 1.6s !important; }


	
/* 전신 혈액 클래스 */
        .jangnusu_junsin {
          display: flex;
    width: 960px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    padding-bottom: 70px;
        }

        /* 왼쪽 이미지 + 뱃지 영역 */
        .jangnusu_junsin #left-content {
            flex: 1.3; /* 왼쪽 영역을 살짝 더 넓게 배분 */
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }

        /* 오염된 혈액 뱃지 스타일 */
        .jangnusu_junsin .badge {
             background-color: #e12b14;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 5px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-left: 170px;
}

        /* 혈관 마이크로 이미지 박스 (라운드드 보더 적용) */
        .jangnusu_junsin #blood-vessel-box {
              border-radius: 30px;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    line-height: 0;
	margin-left: 100px;

}

        .jangnusu_junsin #blood-vessel-box img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* 오른쪽 전신 이미지 영역 */
        .jangnusu_junsin .right-content {
            flex: 0.9; /* 전신 이미지는 세로로 길기 때문에 비율을 조금 줄임 */
            justify-content: center;
            align-items: center;
			position: relative;
        }

 
/* 소장융모 내시경 불가 */
.youngmo_list_txt {
    font-size: 28px;
    text-align: center;
    font-weight: 600;
    color: #4a5568;    
	
}	
    
.youngmo_list_txt span{
	    text-decoration: underline;
    text-underline-position: under;
color: #2b6cb0;
}
.youngmo_list_txt b{	
 
    padding: 0 10px;    
	margin-top: 10px;    
	font-weight: 700;
display: inline-block;
color: #2d3748;
} /*    background: #f1ffe9; */
	
	.youngmone_box{
    position: relative;
	width: 1000px;
	padding: 25px;
    background-color: #f9fbfd;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 0px;

	}





/* 깜빡깜빡 */	
.highlight {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    background-color: rgba(255, 0, 0, 0.41);
    
    /* 전체 주기는 2초로 통일 */
    animation-name: blink;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* [개별 설정: 위에서 아래로 순서대로 delay 부여] */

/* 1단계: 뇌 (가장 위 - 즉시 시작) */
.highlight.brain {
    top: 10px;
    left: 60px;
    width: 70px;
    height: 70px;
    animation-delay: 0s;
}

/* 2단계: 심장 (0.4초 뒤 시작) */
.highlight.heart {
    top: 150px;
    left: 60px;
    width: 70px;
    height: 70px;
    animation-delay: 0.4s;
}

/* 3단계: 위 (0.8초 뒤 시작) */
.highlight.stomach {
    top: 240px;
    left: 60px;
    width: 70px;
    height: 70px;
    animation-delay: 0.8s;
}

/* 4단계: 장 (가장 아래 - 1.2초 뒤 시작) */
.highlight.gut {	
    top: 420px;
    left: 60px;
    width: 70px;
    height: 70px;
    animation-delay: 1.2s;
}

/* [애니메이션 정의] */
@keyframes blink {
    0%, 100% {
        opacity: 0;
        transform: scale(0.95); /* 깜빡일 때 크기도 살짝 변하면 더 역동적입니다 */
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}