

.is_ascend {
  border: 3px #f0e297 solid;
  border-radius: 4px;
}

.is_ascend-name {
  color: #f0e297 !important;
}

.ascend_box {
  align-content: center;
  text-align: center;
  border: 1px #d9c86f solid;
  padding-left: 5px;
  border-radius: 8px;
  height: 42px;
}

.doctrine_box{
  display: flex;
  gap: 10px;
}

.doctrine_point_box{
  align-content: center;
}

.doctrine_point_box .point_red{
  color:red !important;
}


.sub-doctrines-container {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  /* max-height: 200px; */
  overflow-y: auto;
}

.sub-doctrine-card {
  display: flex;
  align-items: flex-start;
  width: 200px;
  /* max-width: 200px; */
  background: #f5f5f5;
  padding: 6px;
  border-radius: 4px;
}

.sub-icon {
  width: 40px;
  height: 40px;
  margin-right: 6px;
}

.sub-info {
  flex: 1;
  font-size: 12px;
}

.sub-name {
  font-weight: bold;
}

.sub-desc {
  font-size: 11px;
  margin-top: 2px;
  color: #666;
  white-space: break-spaces;
}

.sub-points {
  margin-top: 4px;
  display: flex;
  /* align-items: center; */

  justify-content: center;
  gap: 4px;
}

.sub-points .point {
  color: black !important;
  font-size: medium;
}


.contents_inner {
  justify-items: center;
  /* 수직 가운데 정렬 */
  /* height: 100vh; */
  /* 부모 요소의 높이를 화면 전체로 설정 */
  flex-direction: column;
  /* 여러 개의 div를 세로로 정렬 */

}

.character-card {
  width: 500px;
  max-width: 100%;
  /* height: auto; */
  aspect-ratio: 9 / 16;
  background-color: #f5f5f5;
  color: #333;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* overflow: auto; */
}

.character-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.character-image {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  margin-right: 12px;
}

.character-info {
  display: flex;
  flex-direction: column;
}

.character-trait-wrap {
  color: rgb(223 145 0);
  margin-top: 10px;
  display: flex;
  gap: 5px;
}

.character-name {
  /* font-size: 1.5rem; */
  /* font-size: clamp(1rem, 5vw, 1.5rem); */
  font-size: calc(1rem + 0vw);
  font-weight: bold;
  color: #2c3e50;
}

.character-tier {
  font-size: 1rem;
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 16px;
}

.search_wrap {
  width: 500px;
}

.search_wrap.off {
  display: none;
}

.search_class {
  width: 240px;
}
.search_item {
  width: 240px;
}

.search_trait {
  justify-content: center;
  display: flex;
  gap: 5px;
}

.search_trait .selectbox {
  width: 100%;
}

.character-items {
  width:151px;
  background-color: #def3d7;
  padding: 12px;
  border-radius: 8px;
}
.character-items .item_wrap{
  display: flex;
  gap:5px;
}


.character-stats {
  display: flex;
  flex-wrap: wrap;
  background-color: #ecf0f1;
  padding: 12px;
  border-radius: 8px;
}
.character-stats2 {
  display: flex;
  flex-wrap: wrap;
  background-color: #ecf0f1;
  padding: 12px;
  border-radius: 8px;
}

.character-potions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* 수직 중앙 정렬 */
  justify-content: space-between;
  /* 양쪽 끝으로 배치 */
  background-color: #ede0f1;
  padding: 12px;
  border-radius: 8px;
}

.character-potions div {
  width: 33%;
  /* 각 div의 너비 설정 */
  font-size: 0.875rem;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  /* 양쪽으로 배치 */
  align-items: center;
  /* 수직 중앙 정렬 */
}

.character-potions div .potion-text {
  display: flex;
  align-items: center;
  /* 이미지와 텍스트 세로로 정렬 */
}

.character-potions div .potion-text img {
  margin-right: 5px;
  /* 이미지와 텍스트 사이에 간격 추가 */
}

.character-potions div .potion-value {
  margin-left: auto;
  /* {{p오른쪽으로otion_info_drink.}}/? 부분을 오른쪽으로 밀어줌 */
}

.character-stats div {
  width: 50%;
  font-size: 0.875rem;
  margin-bottom: 4px;
}
.character-stats2 div {
  width: 100%;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.character-skills {
  margin-top: 16px;
}

.character-skills h3 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: #2980b9;
}

.skill-active {
  color: #e74c3c;
  font-size: 1rem;
  font-weight: bold;
}

.skill-passive {
  color: #27ae60;
  font-size: 1rem;
  font-weight: bold;
}

.skill-desc {
  font-size: 0.875rem;
  color: #555;
}

.potion1 {
  width: 24px;
  height: 24px;
}


.search_class {
  width: 100%;
  display: flex;
  gap: 10px;
}

.search_item {
  width: 100%;
  display: flex;
  gap: 10px;
}

.full_potion {
  color: orange;
}

.no_potion {
  color: rgb(141, 139, 139);
}

.prev-next a{

  display: block;  /* 세로 정렬 */
  margin-bottom: 5px; /* 아래쪽 간격 */
}

.capture_btn{
  display: none;
}

@media all and (max-width:520px) {
  .view_top2 {
    width: 100%;
  }

  .search_wrap {
    width: 100%;
  }
  .capture_btn{
    display: block;
  }
}

@media all and (max-width:500px) {
  .potion1 {
    width: 16px;
    height: 16px;
  }
}


@media all and (max-width:460px) {
  .search_wrap {
    width: 100%;
  }

  .search_class {
    display: grid;
  }

  .search_class .selectbox {
    width: 100%;
  }

  .search_class .btn {
    text-align: center;
  }

  .search_item {
    display: grid;
  }

  .search_item .selectbox {
    width: 100%;
  }

  .search_item .btn {
    text-align: center;
  }
}
