/* YouTube 링크 제목 표시 스타일 */
.yt-link-container {
    padding: 2px 0;
    margin: 2px 0;
}

.yt-link-title {
    font-weight: 600;
    color: inherit;  /* 스킨 폰트 색상 상속 */
    margin-bottom: 2px;
    font-size: inherit;  /* 스킨 폰트 크기 상속 */
    font-family: inherit;  /* 스킨 폰트 상속 */
    line-height: 1.2em !important;
}

.yt-link-title i {
    color: #ff0000;
    margin-right: 2px;
}

.yt-link-url {
    display: inline-block;
    font-size: 0.9em;  /* 제목보다 약간 작게 */
    color: inherit;  /* 스킨 색상 상속 */
    word-break: break-all;
    text-decoration: none !important;
    border-bottom: none !important;  /* ← 추가 */
    font-family: inherit;
    line-height: 1.2em !important;
}

.yt-link-url:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

/* 다크모드 */
@media (prefers-color-scheme: dark) {
    .yt-link-container {
        background: #2a2a2a;
        border-left-color: #ff0000;
    }
    
    .yt-link-url {
        color: #4dabf7;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .yt-link-title {
        font-size: 13px;
    }
    
    .yt-link-url {
        font-size: 12px;
    }

    .yt-link-title {
        font-size: 13px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .yt-link-url {
        font-size: 12px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* 토스트 메시지 */
.yt-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #323232;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.yt-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 다크모드 */
body.color_scheme_dark .yt-toast {
    background: #e4e6eb;
    color: #1a1d23;
}

/* 답글 안내 문구 */
.yt-reply-notice {
    font-size: 0.85em;
    color: #999;
    margin-top: 3px;
    font-style: italic;
}

body.color_scheme_dark .yt-reply-notice {
    color: #6b7280;
}