/* 개인 학습 카운터 - 오른쪽 상단, 백링크와 높이 맞춤 */
.personal-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    font-size: 14px;
    color: #2c3e50;
    height: 36px; /* 백링크와 동일한 높이 */
    display: flex;
    align-items: center;
}

.counter-content {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    height: 100%;
}

.counter-icon {
    font-size: 16px;
    line-height: 1;
}

.counter-text {
    font-weight: 600;
    color: #3498db;
    line-height: 1;
}

.counter-note {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1;
}

/* 백링크 스타일과 일치하도록 조정 */
.back-link {
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .personal-counter {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 13px;
        height: 32px;
    }
    
    .counter-content {
        gap: 4px;
    }
    
    .counter-icon {
        font-size: 14px;
    }
}

/* 다크 모드 대응 */
@media (prefers-color-scheme: dark) {
    .personal-counter {
        background: rgba(44, 62, 80, 0.95);
        border-color: rgba(52, 152, 219, 0.4);
        color: #ecf0f1;
    }
    
    .counter-text {
        color: #5dade2;
    }
    
    .counter-note {
        color: #bdc3c7;
    }
}

/* 호버 효과 */
.personal-counter:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
/* 조회수 숫자만 표시 */
.view-number {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}
