:root {
    --border: #e6e6e6;
    --text: #222;
    --muted: #666;
    --bg: #fff;
    --header: #f7f7f8;
    --rowAlt: #fcfcfd;
    --radius: 8px;
  }
  * { box-sizing: border-box; }
  
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    font-size: 1.6rem;
  }
  .people-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .people-table caption { position: absolute; left: -9999px; }
  .people-table thead th {
    position: sticky; top: 0; z-index: 1;
    background: var(--header); color: #111; text-align: center;
    font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }
  .people-table thead th:first-child {  
    border-left: 0;}
  .people-table td {
    vertical-align: top;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    word-break: keep-all;
    border-left: 1px solid var(--border);
  }
  .people-table tbody tr:nth-child(even) { background: var(--rowAlt); }
  .people-table tbody tr:hover { background: #f2f7ff; }
  .people-table td:first-child {  font-weight: 600;    text-align: center;
      vertical-align: middle;
      border-left: 0; color: #111;}
  .people-table td:nth-child(2) {  font-weight: 600;    text-align: center;
      vertical-align: middle;color: #111; }
  .bio { margin: 0; padding: 0 0 0 18px; }
  .bio li { margin: 2px 0; list-style: none; }

 
@media (max-width: 540px) {

 /* 2. 상단 좌우 스크롤 안내 마크 (가상 요소) */
 .table-wrap{
  position: relative;
  padding-top:28px;
 }
 .table-wrap::before {
	content: "↔ 좌우로 밀어서 보세요";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 28px;
 /* 배경색 (기본 카테고리 색상과 매칭) */
	color: #476393;     /* 텍스트 색상 */
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px 6px 0 0;

	z-index: 10;
}
.table-wrap thead{
  border-top: 1px solid #e5e5e5;
}
  /* 3. 스크롤바를 항상 보이거나 더 눈에 띄게 설정 (선택 사항) */
  .table-wrap::-webkit-scrollbar {
    height: 5px; /* 스크롤바 두께 */
}
.table-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.table-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* 스크롤바 색상 */
    border-radius: 5px;
}
}


  @media (max-width: 480px) {
    body { padding: 16px; }
    .people-table thead th, .people-table td { padding: 16px 14px; }
  }