@charset "utf-8";

/* ==========================================================
   [Design] Dark Glass Cards (Floating)
   - Concept: Individual Cards, No Container, High Contrast
   ========================================================== */

.cards-hud-latest {
    position: relative;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Pretendard', sans-serif;
    
    /* [핵심] 전체 큰 박스 제거 (투명) */
    background: transparent;
}

/* ----------------------------------------------------------
   1. 헤더
---------------------------------------------------------- */
.cards-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
    /* 바닥 선: 점선으로 가볍게 처리 */
    border-bottom: 1px dashed rgba(100, 255, 218, 0.3);
    padding-bottom: 8px;
}

.header-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); /* 헤더 가독성 */
}
.header-title i { color: #64ffda; margin-right: 8px; font-size: 12px; }

.header-more {
    font-size: 10px;
    color: #aaa;
    text-decoration: none;
    font-weight: 700;
    font-family: monospace;
    transition: color 0.3s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.header-more:hover { color: #64ffda; }


/* ----------------------------------------------------------
   2. 리스트 (카드형)
---------------------------------------------------------- */
.cards-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 8px; /* 카드 사이 간격 넓혀서 부유감 강조 */
}

.card-item { width: 100%; }

.card-link {
    display: flex;
    align-items: center;
    padding: 10px 12px; /* 내부 여백 넉넉히 */
    text-decoration: none;
    
    /* [핵심] 각 카드마다 진한 배경을 따로 줌 -> 가독성 해결 */
    background: rgba(10, 15, 20, 0.85);
    
    /* 유리 질감 */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* [재미 요소] 마우스 오버 시 효과 */
.card-link:hover {
    background: rgba(10, 15, 20, 0.95); /* 더 진해짐 */
    transform: translateY(-2px) scale(1.01); /* 살짝 위로 뜸 */
    border-color: #64ffda; /* 테두리 전체가 민트색으로 발광 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 10px rgba(100, 255, 218, 0.2);
}

/* 새 글 강조: 테두리가 아주 연하게 민트빛 */
.is-active .card-link {
    border-color: rgba(100, 255, 218, 0.3);
}


/* [내용 영역] */
.content-area {
    flex: 1;
    overflow: hidden;
    display: flex; align-items: center;
    padding-right: 10px;
}

.subject {
    font-size: 13px;
    color: #eee; /* 밝은 회색 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
/* 오버하면 제목 흰색 */
.card-link:hover .subject { color: #fff; }

.new-tag {
    font-size: 9px;
    color: #000;
    background: #64ffda;
    padding: 2px 5px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: 800;
    line-height: 1;
}


/* [날짜] */
.date {
    font-size: 11px;
    color: #888;
    font-family: monospace;
    flex-shrink: 0;
}
.card-link:hover .date { color: #ccc; }


/* 데이터 없음 */
.empty-card {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-size: 11px;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
}