/* assets/css/comments.css - единый стиль блока комментариев (шаг 3). Заменяет 5 копий <style>. */
.book-comments {
    width: 100% !important;
    max-width: none !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.comments-scroll-container {
    display: block !important;
    width: 100% !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 1px solid #333 !important;
    background: rgba(10, 10, 10, 0.4) !important;
    border-radius: 8px !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: 12px !important;
    box-sizing: border-box !important;
}
.comments-scroll-container.comments-tall { max-height: 250px !important; }
.comment-card {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
    padding: 6px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}
.comment-text {
    color: #eee !important;
    font-size: 14px !important;
    margin-bottom: 2px !important;
    text-align: left !important;
    word-wrap: break-word !important;
    line-height: 1.3 !important;
}
.comment-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #2a2a2a !important;
    padding-top: 2px !important;
}
.comment-author { color: #337ab7 !important; font-weight: bold !important; font-size: 12px !important; }
.comment-date { color: #666 !important; font-size: 11px !important; font-style: italic !important; }
.comments-scroll-container::-webkit-scrollbar { width: 5px; }
.comments-scroll-container::-webkit-scrollbar-thumb { background: #337ab7; border-radius: 10px; }
