@charset "utf-8";

:root {
    /* 배경: 어두운 숲 밤하늘색 (반투명) */
    --fairy-bg: rgba(20, 30, 40, 0.7);
    /* 강조색: 신비로운 민트/에메랄드 (이전 디자인 컬러 유지) */
    --fairy-accent: #64ffda;
    /* 보조색: 연한 잎사귀색 */
    --fairy-sub: #a8ffeb;
    /* 텍스트: 눈이 편한 밝은 색 */
    --fairy-text: #e6f1f5;
    /* 흐린 텍스트 */
    --fairy-mute: #8da6b0;
    /* 테두리 빛 */
    --fairy-glow: rgba(100, 255, 218, 0.3);
}

.sidebar-fairy {
    position: relative;
    background: var(--fairy-bg);
    /* 유리에 서린 김처럼 뽀샤시한 효과 */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    /* 패딩과 마진 슬림하게 */
    padding: 20px 15px 15px 15px;
    margin-bottom: 20px;
    
    /* 둥글둥글한 모서리 (요정/숲 느낌) */
    border-radius: 20px;
    
    /* 은은한 테두리 빛 */
    box-shadow: 0 0 15px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

/* --- 헤더 --- */
.fairy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.fairy-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fairy-accent);
    /* 텍스트에 은은한 빛 */
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}

.icon-leaf {
    font-size: 16px;
    filter: drop-shadow(0 0 5px var(--fairy-accent));
}

.fairy-title a {
    color: inherit;
    text-decoration: none;
}

/* 더보기 (점 3개) */
.btn-fairy-more {
    color: var(--fairy-mute);
    text-decoration: none;
    font-size: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.btn-fairy-more:hover {
    opacity: 1;
    color: var(--fairy-accent);
}

/* --- 리스트 --- */
.fairy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; /* 항목 간격 */
}

.fairy-item {
    position: relative;
}

.fairy-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    
    /* 리스트 항목도 둥근 알약 모양 */
    border-radius: 12px;
    text-decoration: none;
    color: var(--fairy-text);
    background: rgba(255, 255, 255, 0.03); /* 아주 연한 배경 */
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); /* 통통 튀는 모션 */
}

/* 호버 효과: 둥실 떠오르며 빛남 */
.fairy-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 왼쪽의 작은 마법 점 */
.magic-dot {
    width: 6px;
    height: 6px;
    background-color: var(--fairy-mute);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

/* 호버시 점이 민트색으로 발광 */
.fairy-link:hover .magic-dot {
    background-color: var(--fairy-accent);
    box-shadow: 0 0 8px var(--fairy-accent);
}

/* 제목 영역 */
.fairy-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    padding-right: 8px;
}

.mini-tag {
    font-size: 10px;
    color: var(--fairy-sub);
    background: rgba(100, 255, 218, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    margin-right: 6px;
    white-space: nowrap;
}

.fairy-subject {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- 새글 아이콘: 고스트 배지 --- */
.new-ghost {
    display: inline-block;
    font-size: 9px;
    font-weight: 300; /* 얇은 폰트 */
    color: var(--fairy-accent);
    
    /* 아주 얇은 테두리 */
    border: 1px solid rgba(100, 255, 218, 0.4);
    background: rgba(100, 255, 218, 0.05);
    
    padding: 0px 4px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    
    /* 텍스트 높이 보정 */
    line-height: 1.2;
    letter-spacing: 0.5px;
}
/* 날짜 및 댓글 */
.fairy-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--fairy-mute);
    flex-shrink: 0;
}

.cmt-cnt {
    color: var(--fairy-accent);
    background: rgba(100, 255, 218, 0.1);
    padding: 0 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.date {
    font-family: monospace;
    opacity: 0.7;
}

/* 내용 없음 */
.fairy-empty {
    text-align: center;
    padding: 20px;
    color: var(--fairy-mute);
    font-size: 12px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 15px;
}

/* --- 애니메이션 --- */
@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 2px var(--fairy-accent)); }
}