@font-face {
  font-family: "Pretendard-Regular";
  src: url("/webfonts/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
}
h2 {
  font-size: 1.2rem;
}
ul {
  list-style: none;
  /* li 마커를 숨김 */
  padding: 0;
  /* 기본 패딩 제거 */
  margin: 0;
  /* 기본 마진 제거 */
}
li {
  padding: 0;
  /* 기본 패딩 제거 */
  margin: 0;
  /* 기본 마진 제거 */
}
/* General Styles */
body {
  font-family: "Pretendard-Regular", Arial, sans-serif;
  letter-spacing: -0.05cap;
  background-color: #f8f0f8;
  /*   
  background: rgb(198, 216, 227);
  background: linear-gradient( 
    145deg,
    rgba(198, 216, 227, 1) 0%,
    rgba(179, 197, 209, 1) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed; */
  color: #333;
  display: flex;
  flex-direction: column;
  height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
a:link {
  /* href 속성이 명시된 상태 */
  text-decoration: underline;
}
a:visited {
  text-decoration: underline;
}
a:focus {
  /* 링크 위에 키보드 포커스가 위치한 상태 */
  outline: 2px solid #e09baa;
  outline-offset: 2px;
}
a:hover {
  /* 링크 위에 마우스 포인터가 위치한 상태 */
  opacity: 0.8;
}
a:active {
  /* 링크 위에 마우스 포인터를 두고 좌측 버튼을 계속 클릭하고 있는 상태 */
  opacity: 0.6;
}
.fs-09-em {
  font-size: 0.9em;
  letter-spacing: -0.2cap;
}
.deep-box-shadow {
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2);
}
.custom-shadow {
  background: #d0e1eb;
  /* 버튼의 기본 배경색 */
  border-radius: 15px;
  /* 둥근 모서리 */
  /* 버튼 크기 */
  color: #ffffff;
  /* 텍스트 색상 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), /* 어두운 그림자 */ -8px -8px 16px rgba(255, 255, 255, 0.5);
  /* 밝은 그림자 */
  transition: 0.3s ease;
  /* 애니메이션 추가 (선택 사항) */
}
.custom-shadow:active {
  box-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.2), /* 눌렀을 때 안쪽 그림자 */ inset -8px -8px 16px rgba(255, 255, 255, 0.5);
}
/* Side Menu / Drawer */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(180deg, #f8e1e7, #f2c7d1);
  overflow-x: hidden;
  overflow-y: auto;
  transition: width 0.3s ease;
  padding: 50px 0 20px;
  color: #333;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}
.side-menu.is-open {
  width: 260px;
  padding-left: 20px;
  padding-right: 20px;
}
.side-menu.on {
  width: 260px;
  padding-left: 20px;
  padding-right: 20px;
}
.side-menu.off {
  width: 0;
}
/* 드로어 내부 기본 링크 스타일 */
.side-menu a {
  color: #333;
  text-decoration: none;
  background: none;
  font-size: 1em;
  padding: 10px 20px;
  transition: 0.2s;
  display: block;
}
.side-menu .folder a {
  color: #505050;
  font-size: 0.9rem;
}
.side-menu a:hover {
  background-color: rgba(224, 155, 170, 0.3);
  border-radius: 6px;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2em;
  background: none;
  border: none;
  color: #525252;
  cursor: pointer;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #e09baa;
}
/* 추천 바로가기 영역 */
.drawer-recommend {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(224, 155, 170, 0.3);
}
.drawer-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-around;
  flex-flow: row;
}
.drawer-shortcuts li {
  margin: 0;
  padding: 0;
}
.drawer-shortcuts .chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background-color: #fff;
  border: 1px solid rgba(224, 155, 170, 0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.drawer-shortcuts .chip:hover {
  background-color: #ffc4d2;
  border-color: #e09baa;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.drawer-shortcuts .chip:active {
  transform: translateY(0);
}
/* 드로어 섹션 (카테고리) */
.drawer-section {
  margin-bottom: 0.75rem;
}
.drawer-section-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
  border-radius: 14px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  /* 패널 안의 중첩 토글: 링크와 같은 줄 스타일로 정렬 */
}
.drawer-section-button span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.drawer-section-button span:first-child i {
  font-size: 0.9rem;
  color: #e09baa;
}
.drawer-section-button span:last-child {
  font-size: 0.8rem;
  color: #888;
  transition: transform 0.2s;
}
.drawer-section-button[aria-expanded="true"] span:last-child {
  transform: rotate(0deg);
}
.drawer-section-button[aria-expanded="false"] span:last-child {
  transform: rotate(-90deg);
}
.drawer-section-button:hover {
  color: #e09baa;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.drawer-section-button.sub {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  color: #555;
  background-color: transparent;
  box-shadow: none;
}
.drawer-section-button.sub-in-panel {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0 0.4rem 0.5rem;
  margin: 0.2rem 0 0.4rem 0;
  color: #555;
  background: none;
  box-shadow: none;
  border-radius: 6px;
  min-height: auto;
}
.drawer-section-button.sub-in-panel span:first-child i {
  font-size: 0.85rem;
  margin-right: 0.15rem;
}
.drawer-section-button.sub-in-panel span:last-child {
  font-size: 0.7rem;
}
.drawer-section-button.sub-in-panel:hover {
  color: #e09baa;
  background-color: rgba(224, 155, 170, 0.2);
  box-shadow: none;
  padding-left: 1rem;
}
.drawer-section-panel {
  list-style: none;
  padding-left: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  /* 1단계 패널 내 링크와 토글 행 통일된 들여쓰기 */
  padding-left: 0.75rem;
}
.drawer-section-panel[hidden] {
  display: none;
}
.drawer-section-panel li {
  margin: 0;
  padding: 0;
}
.drawer-section-panel a {
  display: block;
  padding: 0.4rem 0 0.4rem 0.5rem;
  font-size: 0.95rem;
  color: #555;
  transition: all 0.2s;
  border-radius: 6px;
  margin-bottom: 0.2rem;
}
.drawer-section-panel a:hover {
  background-color: rgba(224, 155, 170, 0.2);
  padding-left: 1rem;
}
/* 순위 > 지역별 전용 중첩: 패널과 동일한 들여쓰기, 카드 느낌 제거 */
.drawer-section-nested {
  margin-top: 0;
  margin-bottom: 0;
}
.drawer-section-nested .drawer-section {
  margin-bottom: 0;
}
.drawer-section-nested .drawer-section-button {
  width: 100%;
}
.drawer-section-nested .drawer-section-panel {
  margin-left: 0;
  padding-left: 0.5rem;
}
/* 지역별 순위 그리드 스타일 */
.drawer-region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0.5rem !important;
  margin-top: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  list-style: none;
}
.drawer-region-grid .region-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem !important;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(224, 155, 170, 0.3);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 0 !important;
}
.drawer-region-grid .region-chip:hover {
  background-color: #ffc4d2 !important;
  border-color: #e09baa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #333 !important;
}
.drawer-region-grid .region-chip.is-active {
  background: linear-gradient(135deg, #e09baa 0%, #f86fa6 100%) !important;
  border-color: #e09baa;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(224, 155, 170, 0.4);
}
.drawer-region-grid .region-chip.is-active::before {
  display: none;
}
.drawer-region-grid .region-chip.is-active:hover {
  background: linear-gradient(135deg, #f86fa6 0%, #e09baa 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(224, 155, 170, 0.5);
  color: #fff !important;
  margin-left: 0 !important;
}
@media (min-width: 1000px) {
  .drawer-region-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    padding: 0.25rem 0.25rem !important;
  }
  .drawer-region-grid .region-chip {
    padding: 0.7rem 0.6rem !important;
    font-size: 0.95rem;
  }
}
/* 활성 메뉴 링크 */
.menu-link {
  position: relative;
  transition: all 0.2s;
}
.menu-link.is-active {
  font-weight: 600;
  color: #000;
  background-color: #d87a8f55;
  border: 1px solid #c95d75;
  border-radius: 8px;
  margin: 0.15rem 0;
  box-shadow: 0 2px 4px rgba(201, 93, 117, 0.3);
}
.menu-link.is-active:hover {
  background-color: #d16a82;
  border-color: #c04d68;
  box-shadow: 0 2px 6px rgba(201, 93, 117, 0.4);
  padding-left: 0 !important;
}
/* 설정 영역 */
.drawer-settings {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(224, 155, 170, 0.3);
}
.drawer-settings h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 0.5rem;
}
.drawer-settings .drawer-section-panel a {
  padding-left: 0;
  display: inline-block;
}
.drawer-settings .drawer-section-panel a:hover {
  padding-left: 0;
}
.drawer-settings .drawer-section-panel span[aria-hidden="true"] {
  color: #ccc;
  margin: 0 0.25rem;
}
/* 스크린리더 전용 텍스트 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
/* 드로어 내부 메뉴 컨테이너 */
.side-menu .menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* 사이드 메뉴 하단 - 최근 검색한 이름 */
.drawer-recent-search {
  margin-top: 1rem;
  padding: 0.75rem 0.5rem 0.5rem;
  border-top: 1px solid rgba(224, 155, 170, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 230, 238, 0.95));
  border-radius: 12px;
}
.drawer-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.drawer-recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6a4252;
}
.recent-search-clear {
  border: none;
  background: none;
  font-size: 0.75rem;
  color: #b05570;
  cursor: pointer;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
}
.recent-search-clear:hover {
  background-color: rgba(176, 85, 112, 0.08);
}
.recent-search-empty {
  font-size: 0.8rem;
  color: #8a6f7b;
  margin: 0.15rem 0 0.2rem;
}
.recent-search-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  max-height: 55px;
  /* 칩 약 8개 정도까지 보이도록 제한 */
  overflow-y: auto;
}
.recent-search-item {
  margin: 0;
}
.recent-search-chip {
  border: none;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  color: #4d3a44;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.recent-search-chip:hover {
  background: #ffc4d2;
  color: #3b2830;
  box-shadow: 0 2px 6px rgba(224, 155, 170, 0.45);
}
/* 모바일 최적화 */
@media (max-width: 999px) {
  .side-menu {
    max-width: 85vw;
  }
  .side-menu.is-open {
    width: 85vw;
    max-width: 260px;
  }
  .drawer-shortcuts .chip {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
  .drawer-section-button {
    font-size: 0.95rem;
  }
  .drawer-section-panel a {
    font-size: 0.9rem;
  }
}
/* Main Content */
#main-content {
  transition: margin-left 0.3s;
  /* padding: 10px 20px; */
}
/* Top Bar */
.menu-icon {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  margin-right: 10px;
}
.search-icon {
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5em;
}
/* Overlay for smaller screens */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overlay.is-visible {
  display: block;
  opacity: 1;
}
/* 스크롤 락 */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
/* Top Bar */
.top-bar {
  display: flex;
  color: #395865;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  background: linear-gradient(145deg, #c6d8e3 0%, #b3c5d1 100%);
}
.app-title {
  letter-spacing: -0.1cap;
  font-size: 1.2em;
  margin: 0 auto;
  font-weight: bold;
}
.app-title a:link {
  text-decoration: none;
}
.main-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.max-width-400px {
  max-width: 400px;
}
.rem-0-9 {
  font-size: 0.9rem;
}
.main-rank-table table tr td:nth-child(3) {
  font-size: 0.8rem;
  color: #888;
}
.main-rank-table tr td:nth-child(1) {
  font-size: 0.8rem;
  color: #888;
}
.main-rank-table tr td:nth-child(3) {
  font-size: 0.8rem;
  color: #888;
}
.rank-diff {
  font-weight: 600 !important;
}
.rank-diff:before {
  content: '(';
}
.rank-diff:after {
  content: ')';
}
.rank-diff.rank-diff-side {
  font-size: 0.7rem;
  vertical-align: baseline;
}
.rank-diff.rank-up {
  color: #d32f2f !important;
}
.rank-diff.rank-down {
  color: #0077cc !important;
}
.rank-diff.rank-same {
  color: #999 !important;
}
.align-middle {
  margin: 0 auto;
}
/* Center Content with Baby Image */
.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}
.baby-image {
  width: auto;
  max-height: 180px;
  border-radius: 50%;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .baby-image {
    max-height: 100px;
  }
}
@media (max-width: 500px) {
  .baby-image {
    max-height: 50px;
  }
}
.main-title {
  font-size: 1.8em;
  color: #333;
  text-align: center;
}
@media (max-width: 768px) {
  .main-title {
    font-size: 1.2em;
    letter-spacing: -0.09em;
  }
}
.sub-title {
  font-size: 1em;
  color: #666;
  text-align: center;
}
.sub-title.main-subtitle {
  font-size: 1.2em;
  color: #666;
  text-align: center;
  letter-spacing: -0.15rem;
  /* 모바일 공간 확보 */
}
@media (max-width: 768px) {
  .sub-title.main-subtitle {
    display: none;
  }
}
/* 메인 검색창: input과 버튼을 한 덩어리처럼 붙여 보이도록 수정 */
.search-text-box.search-section {
  position: relative;
  display: block;
  margin: 0 auto;
  max-width: 400px;
  width: 90%;
}
.search-text-box.search-section .name-search-input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background-color: #ffffff;
  text-align: center;
  padding: 0 10px 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #5a5a5a;
}
.search-text-box.search-section .name-search-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 50px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  background-color: #7c8b99;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
}
.search-text-box.search-section .name-search-btn::before {
  content: "🔍";
  font-size: 1rem;
}
.search-text-box.search-section .name-search-btn:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.name-search-btn:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.horizional-table {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
}
.standard-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}
.standard-table th {
  background-color: #395865;
  color: #fff;
  text-align: center;
  line-height: 2rem;
}
.standard-table td {
  text-align: center;
  line-height: 2rem;
  border-bottom: 1px solid #6565654d;
  font-size: 1rem;
}
.half-table {
  width: 48%;
}
.half-table h1,
.half-table h2,
.half-table h3 {
  text-align: center;
  font-size: 1.2rem;
}
.half-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}
.half-table table th {
  background-color: #395865;
  color: #fff;
  text-align: center;
  line-height: 2rem;
}
.half-table table td {
  text-align: center;
  line-height: 2rem;
  border-bottom: 1px solid #6565654d;
  font-size: 1rem;
}
/* Names List */
.names-list {
  padding: 5px;
  display: flex;
  flex-direction: column;
  width: 50%;
}
.name-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.name-card:hover {
  transform: scale(1.02);
}
.name {
  font-size: 1.2em;
  color: #333;
}
.name-details {
  color: #888;
  font-size: 0.9em;
}
/* Bottom Navigation Bar */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  flex-direction: column;
}
.bottom-nav-row {
  width: 100%;
}
.copyright {
  text-align: center;
  font-size: 0.9rem;
}
.bottom-nav button {
  background: none;
  border: none;
  font-size: 1.2em;
  color: #333;
  cursor: pointer;
}
/* Responsive Layout for larger screens */
@media (min-width: 1000px) {
  .side-menu {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 260px;
    height: 100%;
    transition: none;
    padding-top: 50px;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 0;
  }
  .app-title {
    font-size: 1.4em;
  }
  .side-menu.on,
  .side-menu.off,
  .side-menu.is-open {
    width: 260px;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Adjust main content to make room for the fixed side menu */
  #main-content {
    margin-left: 260px;
  }
  /* Hide overlay for large screens */
  .overlay {
    display: none !important;
  }
  .overlay.is-visible {
    display: none !important;
  }
  /* Hide menu icon on large screens */
  .menu-icon {
    display: none;
  }
  .close-btn {
    display: none;
  }
  /* 데스크톱에서 드로어는 항상 열려있음 */
  body.no-scroll {
    overflow: auto;
    position: static;
    width: auto;
  }
}
.name-description {
  text-align: center;
  margin-bottom: 15px;
}
.name-description h2 {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 7px;
}
.name-description em,
.name-description strong {
  color: #E65100;
  /*deep orange*/
}
.hanja-box-title {
  margin-top: 15px;
  margin-bottom: 5px;
}
.hanja-box-title span {
  font-size: 0.9rem;
  color: #232323;
}
.chosung-box h2 {
  text-align: center;
}
.chosung-box ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.chosung-box ul a {
  color: #000;
  text-decoration: none;
}
.chosung-box ul li {
  background: #d0e1eb;
  /* 버튼의 기본 배경색 */
  border-radius: 15px;
  /* 둥근 모서리 */
  /* 버튼 크기 */
  color: #ffffff;
  /* 텍스트 색상 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), /* 어두운 그림자 */ -8px -8px 16px rgba(255, 255, 255, 0.5);
  /* 밝은 그림자 */
  transition: 0.3s ease;
  /* 애니메이션 추가 (선택 사항) */
  margin: 3px;
  padding: 8px;
  width: 100px;
  font-size: 1rem;
  color: #000;
  vertical-align: baseline;
}
.chosung-box ul li:hover {
  background: #fff;
  transform: scale(1.1);
}
.season-box h2 {
  text-align: center;
}
.season-box ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  width: 400px;
  margin: 0 auto;
  margin-bottom: 15px;
}
.season-box ul a {
  text-decoration: none;
}
.season-box ul li {
  background: #d0e1eb;
  /* 버튼의 기본 배경색 */
  border-radius: 15px;
  /* 둥근 모서리 */
  /* 버튼 크기 */
  color: #ffffff;
  /* 텍스트 색상 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), /* 어두운 그림자 */ -8px -8px 16px rgba(255, 255, 255, 0.5);
  /* 밝은 그림자 */
  transition: 0.3s ease;
  /* 애니메이션 추가 (선택 사항) */
  margin: 5px;
  padding: 8px;
  width: 90px;
  font-size: 1rem;
  color: #000;
  vertical-align: baseline;
}
.season-box ul li a {
  color: #000;
  text-decoration: none;
}
.season-box ul li:hover {
  background: #fff;
  transform: scale(1.1);
}
.regional-box h2 {
  text-align: center;
}
.regional-box ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.regional-box ul a {
  color: #000;
  text-decoration: none;
}
.regional-box ul li {
  background: #d0e1eb;
  /* 버튼의 기본 배경색 */
  border-radius: 15px;
  /* 둥근 모서리 */
  /* 버튼 크기 */
  color: #ffffff;
  /* 텍스트 색상 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), /* 어두운 그림자 */ -8px -8px 16px rgba(255, 255, 255, 0.5);
  /* 밝은 그림자 */
  transition: 0.3s ease;
  /* 애니메이션 추가 (선택 사항) */
  margin: 3px;
  padding: 8px;
  width: 100px;
  font-size: 1rem;
  color: #000;
  vertical-align: baseline;
}
.regional-box ul li:hover {
  background: #fff;
  transform: scale(1.1);
}
.regional-box ul {
  justify-content: center;
}
.regional-box ul a {
  text-decoration: none;
}
.regional-box ul li {
  width: auto;
}
table tr.on {
  background-color: orange;
}
.hanja-box {
  height: 200px;
  overflow-y: scroll;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.hanja-box dl {
  padding-top: 5px;
  padding-bottom: 3px;
  width: 20%;
  margin-bottom: 10px;
  background: #d0e1eb;
  /* 버튼의 기본 배경색 */
  border-radius: 15px;
  /* 둥근 모서리 */
  /* 버튼 크기 */
  color: #ffffff;
  /* 텍스트 색상 */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.2), /* 어두운 그림자 */ -8px -8px 16px rgba(255, 255, 255, 0.5);
  /* 밝은 그림자 */
  transition: 0.3s ease;
  /* 애니메이션 추가 (선택 사항) */
}
@media (min-width: 1000px) {
  .hanja-box dl {
    width: 15%;
  }
}
@media (max-width: 400px) {
  .hanja-box dl {
    width: 25%;
  }
}
.hanja-box dl dt {
  color: #000;
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.hanja-box dl dd {
  font-size: 0.8rem;
  font-weight: normal;
  color: #555;
}
.hanja-box dl dd .stroke {
  font-size: 0.8rem;
}
.hanja-box dl:hover {
  background: #fff;
  transform: scale(1.02);
}
.table-chartbox {
  margin-top: 15px;
}
.table-chartbox h2 {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}
.table-chartbox h2 .new {
  font-size: 0.9rem;
  margin-top: 0px;
  color: #d30094;
  vertical-align: text-top;
}
/*
 * Chart
 */
.chartbox h2 {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}
.chartbox h2 .new {
  font-size: 0.9rem;
  margin-top: 0px;
  color: #d30094;
  vertical-align: text-top;
}
.chartbox .desc {
  padding-top: 10px;
  font-size: 0.9rem;
  text-align: center;
  color: #777;
}
.chartbox::after {
  content: "";
  clear: both;
  display: table;
}
#chart-ranking1,
#chart-ranking2,
#chart-annal-adj1,
#chart-annal-adj2 {
  height: 220px;
}
#chart-annal,
#chart-annal-adj,
#chart-seasonal,
#chart-sex,
#chart-city,
#chart-stat-city {
  width: 100%;
  height: 400px;
}
#chart-city {
  height: 450px;
}
#chart-stat-year {
  width: 100%;
  height: 400px;
}
@media (min-width: 768px) {
  .chartbox > div {
    float: left;
    width: 50%;
  }
}
.sns-btns {
  text-align: center;
}
.sns-btns img {
  width: 42px;
  border-radius: 15px;
}
.sns-btns a {
  text-decoration: none;
}
.scrollable-table-container {
  width: 100%;
  text-align: center;
  overflow-x: auto;
}
.t3d {
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 1px;
  box-sizing: border-box;
  background-color: #acacac;
  text-align: center;
  display: table;
}
@media (min-width: 769px) {
  .t3d {
    min-width: 800px;
    width: auto;
  }
}
@media (max-width: 768px) {
  .t3d {
    overflow: visible;
    min-width: 600px;
  }
}
.t3d caption {
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px;
  background-color: #333;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 12;
  text-align: center;
  caption-side: top;
  display: table-caption;
}
.t3d thead th {
  font-weight: bold;
  font-size: 1rem;
  height: 2rem;
  padding: 7px;
  vertical-align: middle;
  background-color: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.t3d thead th:nth-child(1) {
  width: 30px;
  left: 0;
  z-index: 11;
}
.t3d:has(caption) thead th {
  top: 45px;
}
.t3d:has(caption) thead th:nth-child(1) {
  top: 45px;
}
.t3d:has(caption) tbody th {
  top: 45px;
}
.t3d th:nth-child(1) {
  width: 30px;
}
.t3d tr:nth-child(2n) td {
  background-color: #dedede;
}
.t3d td {
  background-color: #fff;
  vertical-align: middle;
  font-size: 0.9rem;
  padding: 5px;
}
.t3d td span {
  font-size: 0.6rem;
  color: #292929;
  background: #fff;
  padding: 2px;
  border-radius: 5px;
}
.t3d tbody th {
  font-weight: bold;
  font-size: 1rem;
  height: 2rem;
  padding: 7px;
  vertical-align: middle;
  background-color: #000;
  color: #fff;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9;
}
.t3d .mini {
  font-size: 0.8rem;
}
.search-text-desc {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}
.max-width-800px {
  max-width: 800px;
}
.max-width-600px {
  max-width: 600px;
}
.max-width-1024px {
  max-width: 1024px;
}
.margin-0-auto {
  margin: 0 auto;
}
.space-between {
  justify-content: space-between;
}
.baby--normal-flex-container {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}
.baby--normal-flex-container h1,
.baby--normal-flex-container h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.baby--normal-flex-container .half-table {
  width: 48%;
}
.baby--normal-flex-container .flex-dir-row {
  flex-direction: row;
}
.baby--normal-flex-container .flex-dir-row-reverse {
  flex-direction: row-reverse;
}
.baby--normal-flex-container .flex-dir-col {
  flex-direction: column;
}
.baby--normal-flex-container .flex-dir-col-reverse {
  flex-direction: column-reverse;
}
.baby--normal-flex-container h1,
.baby--normal-flex-container h2,
.baby--normal-flex-container h3 {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.baby--normal-flex-container h2 {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px;
}
.baby--normal-flex-container h3 {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 5px;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}
.flex-container h1,
.flex-container h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.flex-container .half-table {
  width: 48%;
}
.flex-container .flex-dir-row {
  flex-direction: row;
}
.flex-container .flex-dir-row-reverse {
  flex-direction: row-reverse;
}
.flex-container .flex-dir-col {
  flex-direction: column;
}
.flex-container .flex-dir-col-reverse {
  flex-direction: column-reverse;
}
.rank-section {
  display: flex;
}
.rank-section h1,
.rank-section h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.rank-section .rank-box {
  flex: 1;
  width: 48%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.rank-section .rank-box:nth-child(1) {
  margin-right: 2%;
}
.rank-section .rank-box:nth-child(2) {
  margin-left: 2%;
}
.rank-section table {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}
.rank-section table th {
  background-color: black;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}
.rank-section table td {
  text-align: center;
  line-height: 30px;
  border-bottom: 1px solid #656565;
}
.rank-section table .on {
  background-color: palevioletred;
  color: #000;
  font-weight: bold;
}
.pagination-wrapper {
  width: 100%;
}
.pagination {
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  flex-wrap: wrap;
  justify-content: space-between;
}
.pagination a {
  display: flex;
  flex: 1;
  text-decoration: none;
}
.pagination a span {
  flex: 2;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px;
  background-color: #3fb8af;
  color: #fff;
  line-height: 35px;
  height: 35px;
}
.comment {
  max-width: 800px;
  margin: auto;
}
.comment h2 {
  margin-top: 20px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
}
.comment .comment-box {
  padding: 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgba(255, 123, 189, 0.5);
  margin-top: 15px;
}
.comment .comment-box:after {
  content: "";
  display: table;
  clear: both;
}
.comment span.writer {
  display: inline-block;
  width: 50%;
  font-weight: bold;
}
.comment span.date {
  display: inline-block;
  width: 50%;
  text-align: right;
  color: #5f5f5f;
}
.comment p.content {
  margin-top: 15px;
}
.comment input[type="text"],
.comment input[type="submit"] {
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 25px;
  line-height: 25px;
  border: 1px solid #000;
  vertical-align: bottom;
  text-align: center;
  width: 100%;
  padding: 0px;
}
.comment .comment-input-box {
  width: 100%;
}
.comment .comment-input-box ul {
  font-size: 0;
}
.comment .comment-input-box ul li {
  display: inline-block;
  margin: 0px;
  padding: 0px;
}
.comment .comment-input-box ul li:nth-child(1) {
  width: 20%;
}
.comment .comment-input-box ul li:nth-child(2) {
  width: 58%;
}
.comment .comment-input-box ul li:nth-child(3) {
  width: 20%;
}
.comment-section {
  width: 90%;
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.comment-section h2 {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
  font-weight: 600;
}
.comment-form .form-group {
  margin-bottom: 20px;
  position: relative;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e1e2e6;
  border-radius: 8px;
  font-size: 1em;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #fafafa;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
}
.comment-form button {
  width: 100%;
  padding: 14px;
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
  background-color: #3498db;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2;
}
.sub-number-style {
  font-size: 0.8rem;
  color: #888;
}
.generator .box-content {
  max-width: 600px;
  margin: auto;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.generator .standard-table td span {
  font-size: 0.8rem;
  color: #888;
}
.generator h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.generator .left {
  float: left;
}
.generator .right {
  float: right;
}
.generator .radio-wrapper,
.generator .slider-wrapper,
.generator .char-wrapper,
.generator .text-wrapper {
  margin-bottom: 1.5rem;
}
.generator .radio-wrapper label {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.3rem;
  color: #666;
  cursor: pointer;
}
.generator .radio-wrapper input[type="radio"] {
  margin-right: 5px;
}
.generator .slider-wrapper {
  text-align: center;
  position: relative;
  padding: 1rem 0;
}
.generator .slider {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 5px;
  position: relative;
}
.generator .slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.975rem;
  color: #777;
  margin-top: 1.5rem;
}
.generator .marker {
  font-size: 0.9rem;
  color: #000000;
}
.generator .char-wrapper {
  text-align: center;
}
.generator .text-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.generator .text-wrapper input[type="text"] {
  width: 50px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  font-size: 1rem;
}
.generator .desc {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
  text-align: center;
}
.generator button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #4a90e2;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.generator button:hover {
  background-color: #357abd;
}
.generator .adsbygoogle {
  margin-top: 2rem;
  text-align: center;
}
@media (max-width: 768px) {
  .generator .center-content {
    padding: 1.5rem;
  }
  .generator h2 {
    font-size: 1.25rem;
  }
  .generator .radio-wrapper label {
    font-size: 1.3rem;
  }
  .generator .slider-wrapper {
    padding: 0.75rem 0;
  }
  .generator button {
    font-size: 0.875rem;
    padding: 8px;
  }
}
.stat-section h2,
.desc,
h3 {
  text-align: center;
}
.quick-explore {
  margin-top: 14px;
  padding: 10px 20px;
}
.quick-explore-main-list {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.quick-explore-main-list li {
  /* flex: 0 0 calc(50% - 4px); */
  width: 50%;
  max-width: none;
  padding: 10px;
  background: #e7e7e7;
  text-align: center;
  letter-spacing: -0.03em;
  border: 1px solid #b7c3cf;
  border-radius: 999px;
}
.quick-explore-main-list li:hover {
  background: #d7d7d7;
  box-shadow: 0 5px 12px rgba(121, 142, 165, 0.35);
}
.quick-explore-main-list li:nth-child(1) {
  background: #94a8bc;
  color: #ffffff;
  border-color: #94a8bc;
  box-shadow: 0 4px 10px rgba(121, 142, 165, 0.35);
}
.quick-explore-main-list a {
  width: 100%;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.quick-explore-sub-list {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.quick-explore-sub-list li {
  margin: 0;
  flex: 0 0 auto;
}
.quick-explore-sub-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: #000000cc;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 1px solid #00000022;
}
.quick-explore-sub-list a:hover {
  background: #e9edf2;
  color: #4d5660;
}
/* 데스크탑에서는 스크롤바는 숨기고, 모바일에서는 기본 표시 유지 */
@media (min-width: 768px) {
  .quick-explore-sub-list {
    scrollbar-width: none;
    /* Firefox */
  }
  .quick-explore-sub-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }
}
@media (max-width: 480px) {
  .quick-explore-main-list {
    gap: 6px;
  }
  .quick-explore-main-list a {
    padding: 9px 12px;
    font-size: 0.85rem;
  }
}
.overview-section {
  margin: 10px auto;
  border-radius: 12px;
  padding: 0 10px 0 10px;
}
.overview-section h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin-bottom: 5px;
}
.overview-section ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.overview-section ul a {
  text-decoration: none;
}
.overview-section ul li {
  min-height: 110px;
  padding: 3px;
  background: #e7e7e7;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  border-radius: 5px;
}
.overview-section ul li img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}
.overview-section ul li p.emoji {
  width: 100%;
  height: auto;
  object-fit: contain;
  font-size: 3rem;
}
.overview-section ul li span {
  font-size: 0.9rem;
  color: #000;
  text-align: center;
  vertical-align: middle;
}
.main-hero-section {
  margin: 10px auto;
  background-color: #fff;
  border-radius: 12px;
  padding: 0 10px 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.main-hero-section .whole-rank-more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}
.main-hero-section .main-hero-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 6px 0;
  padding: 5px;
  position: relative;
}
.main-hero-section a {
  text-decoration: none;
}
.main-hero-section h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  text-align: left;
}
.main-hero-section h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin: 5px 0 3px 5px;
}
.main-hero-section .half-table {
  width: 49%;
}
.board-list {
  margin: 5px auto 5px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.board-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 16px 0;
}
.board-list h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
  text-align: left;
}
.board-list-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e51937;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.board-list-more::after {
  content: "›";
  font-size: 0.9rem;
}
.board-list .chip {
  display: none;
}
.board-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.board-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
}
.board-list li:last-child {
  border-bottom: none;
}
.board-list a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  transition: color 0.2s;
}
.board-list a:hover {
  color: #666;
}
.board-list .meta {
  display: none;
}
.board-list .more-btn {
  display: none;
}
.btn-rank-more {
  margin-top: 10px;
  background-color: #e51937;
  border: 1px solid #000;
  padding: 10px;
  width: 100%;
  color: #fff;
  font-size: 1.5rem;
}
.similar-names-section {
  padding: 10px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.similar-names-title {
  font-size: 1.2em;
  color: #1e293b;
  font-weight: 600;
}
.similar-names-description {
  color: #64748b;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 15px;
}
.similar-names-keywords {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.keyword-tag {
  background: linear-gradient(90deg, #dbeafe 0%, #e0f2fe 100%);
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  border: 1px solid #bfdbfe;
}
.pretty-round-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}
.pretty-round-box ul li {
  margin: 0;
}
.pretty-round-box ul li a {
  display: inline-block;
  background: linear-gradient(90deg, #e0e7ff 0%, #f0fdfa 100%);
  border-radius: 999px;
  padding: 7px 12px 7px 12px;
  font-size: 1em;
  color: #2d3a4a;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(60, 60, 60, 0.04);
  transition: background 0.2s, color 0.2s;
  border: 1px solid #dbeafe;
}
.pretty-round-box ul li a:hover {
  background: linear-gradient(90deg, #c7d2fe 0%, #a7f3d0 100%);
  color: #1e293b;
}
.similarity-info {
  font-size: 0.85em;
  color: #64748b;
  margin-top: 10px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
}
