html { scroll-behavior: smooth; } 

.ca_dev { position: sticky; top: 0; background: #fff; z-index: 10; } 

.ca_list { all: unset; position: relative; display: flex; align-items: center; flex-wrap: wrap; width: 100%; /* padding: 7rem 0; */
 border: 2px solid #f56720; text-align: center; } 

.ca_data { width: calc(100% / 5); font-size: 13rem; font-family: "Pretendard Variable"; line-height: 1.5; color: #202123; border: none; padding: 5px; } 

:root { --primary: #f56720; } 

/* 전체 컨테이너 */
.cat-wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 0; overflow-x: hidden; width: 100%; box-sizing: border-box; } 

/* 버튼 스타일 */
.cat-btn { width: 100%; padding: 6px 4px; box-sizing: border-box; border-radius: 999px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 11px; line-height: 1.2; text-align: center; cursor: pointer; transition: 0.2s ease; white-space: normal; word-break: keep-all; } 

/* 활성/호버 */
.cat-btn:hover,
.cat-btn.active { background: var(--primary); color: #fff; } 

#fboardlist { width:100%; height:100%; border:1px solid #ccc; padding:0px 10px; min-height: 560px; margin-bottom: 70px; } 


.label { display: inline-block; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; color: #fff; animation: twinkle 1s ease-in-out infinite alternate; } 


/* 색상 지정 */
.label-hit { background: #ff3b30; } 
.label-best { background: #007aff; } 
.label-new { background: #ffc107; color: #333; } 

/* 반짝반짝 효과 */
@keyframes twinkle { 
 0% { transform: scale(1); filter: brightness(1); box-shadow: 0 0 0px rgba(255,255,255,0.2); } 
 100% { transform: scale(1.05); filter: brightness(1.3); box-shadow: 0 0 6px rgba(255,255,255,0.8); } 
 }