/* FB Manual Comments — Classic Style */

.fbmc-box, .fbmc-box * { box-sizing: border-box; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; }
.fbmc-box { font-size: 13px; line-height: 1.38; color: #1d2129; margin: 20px 0; clear: both; background: #fff; width: 100%; float: none; }

/* HEADER */
.fbmc-box .fbmc-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid #e5e5e5; margin-bottom: 14px; float: none; width: 100%; }
.fbmc-box .fbmc-count-num { font-size: 14px; font-weight: 700; color: #1d2129; flex: 1; background: none; border: none; padding: 0; margin: 0; float: none; display: inline; }
.fbmc-box .fbmc-sort-wrap { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fbmc-box .fbmc-sort-label-text { font-size: 12px; color: #90949c; white-space: nowrap; }
.fbmc-box .fbmc-sort-select {
    font-size: 12px;
    color: #1d2129;
    border: 1px solid #ccd0d5;
    border-radius: 3px;
    padding: 4px 0px 4px 8px;
    background: #f6f7f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='12' viewBox='0 0 10 12'%3E%3Cpath d='M5 1L1 4.5h8L5 1z' fill='%23666'/%3E%3Cpath d='M5 11l4-3.5H1L5 11z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 8px center;
    background-size: 10px 12px;
    cursor: pointer;
    outline: none;
    height: auto;
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* WRITE AREA */
.fbmc-box .fbmc-write-wrap { margin-bottom: 14px; overflow: hidden; float: none; width: 100%; }
.fbmc-box .fbmc-input-bar { display: flex; align-items: stretch; gap: 0; border-bottom: 1px solid #e5e5e5; float: none; }
.fbmc-box .fbmc-avatar-you { width: 52px; min-width: 52px; height: 52px; flex-shrink: 0; overflow: hidden; border-right: 1px solid #e5e5e5; display: flex; align-items: center; justify-content: center; background: #e9ebee; float: none; border-radius: 0; }
.fbmc-box .fbmc-avatar-you svg { width: 28px; height: 28px; fill: #bec3c9; }
.fbmc-box .fbmc-fake-input { flex: 1; padding: 16px 14px; font-size: 13px; color: #90949c; cursor: text; background: #fff; border: none; outline: none; min-height: 52px; display: flex; align-items: center; float: none; width: auto; }

.fbmc-box .fbmc-write-form { gap: 0; margin: 0; }
.fbmc-box .fbmc-write-form--inline {
    display: flex;
    width: 100%;
    column-gap: 10px;
}
.fbmc-box .fbmc-wf-name-row { display: none; }

.fbmc-box .fbmc-wf-inner { flex: 1; width: 100%; }
.fbmc-box .fbmc-wf-inputs { background: #fff; border: 1px solid #e5e5e5; padding: 0; border-radius: 0; }
.fbmc-box .fbmc-wf-name-visible {
    display: block;
    width: 100%;
    border: none;
    border-top: 1px solid #dddfe2;
    background: transparent;
    font-size: 13px;
    color: #1d2129;
    outline: none;
    padding: 5px 15px;
    border-radius: 0;
    height: 36px;
}
.fbmc-box .fbmc-wf-name-visible::placeholder { color: #90949c; }
.fbmc-box .fbmc-wf-content {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #1d2129;
    outline: none;
    resize: none;
    padding: 15px 90px 15px 15px;
    min-height: 40px;
    border-radius: 0;
    position: relative;

}
.fbmc-box .fbmc-wf-name-visible,.fbmc-box .fbmc-wf-content,.fbmc-box .fbmc-wf-name-visible:focus,.fbmc-box .fbmc-wf-content:focus{
    box-shadow: none;
}
.fbmc-box .fbmc-wf-content::placeholder { color: #90949c; }
.fbmc-box .fbmc-wf-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 8px;
    background: transparent;
    border-top: 1px solid #e5e5e5;
    float: none;
    flex-direction: column;
    width: 84px;
    position: absolute;
    right: 0;
    top: 64px;;
}
.fbmc-box .fbmc-wf-cancel { font-size: 12px; color: #4b4f56; background: none; border: none; cursor: pointer; padding: 4px 10px; border-radius: 3px; font-weight: 400; }
.fbmc-box .fbmc-wf-submit { background: #5890ff; color: #fff; border: none; border-radius: 3px; padding: 5px 14px; font-size: 12px; font-weight: 700; cursor: pointer; margin-right: 20px;}
.fbmc-box .fbmc-wf-error { display: none; padding: 6px 14px; background: #fff0f0; font-size: 12px; color: #c0392b; }
.fbmc-box .fbmc-wf-error.fbmc-visible { display: block; }
img.fbmc-wf-bottom-ava { margin-right: 12px; display: none;}

/* COMMENT LIST */
.fbmc-box .fbmc-list { min-height: 10px; float: none; width: 100%; }
.fbmc-box .fbmc-empty { color: #90949c; font-size: 13px; padding: 10px 0; }

@keyframes fbmc-in {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ENTRY */
.fbmc-box .fbmc-entry { margin-bottom: 14px; animation: fbmc-in .18s ease; position: relative; float: none; width: 100%; }
.fbmc-box .fbmc-entry--reply { margin-bottom: 0; animation: none; }
.fbmc-box .fbmc-main {
    display: flex;
    column-gap: 10px;
}

/* Avatar col */
.fbmc-box .fbmc-ava-col { flex-shrink: 0; width: 50px; float: none; display: block; }
.fbmc-box .fbmc-entry--reply .fbmc-ava-col { width: 36px; }

/* Avatar */
.fbmc-box .fbmc-ava { width: 50px; height: 50px; border-radius: 0; object-fit: cover; display: block; float: none; }
.fbmc-box .fbmc-entry--reply .fbmc-ava { width: 36px; height: 36px; border-radius: 0; }

/* Body */
.fbmc-box .fbmc-body { flex: 1; min-width: 0; float: none; display: block; width: auto; }

/* Bubble — flat */
.fbmc-box .fbmc-bubble { background: none; border-radius: 0; padding: 0; display: block; box-shadow: none; border: none; }

/* Author */
.fbmc-box .fbmc-author { font-size: 13px; font-weight: 700; color: #365899; margin-bottom: 4px; line-height: 1.3; display: block; }
.fbmc-box .fbmc-author a { color: #365899; text-decoration: none; font-weight: 700; }
.fbmc-box .fbmc-author a:hover { text-decoration: underline; }
.fbmc-box .fbmc-author span { color: #365899; }

/* Text */
.fbmc-box .fbmc-text { font-size: 13px; color: #1d2129; line-height: 1.38; word-break: break-word; white-space: pre-wrap; margin: 0 0 4px; padding: 0; display: block; background: none; }

/* Meta */
.fbmc-box .fbmc-meta { display: flex; align-items: center; flex-wrap: nowrap; margin-top: 3px; padding: 0; float: none; gap: 0; }
.fbmc-box .fbmc-like-btn,
.fbmc-box .fbmc-reply-trigger { font-size: 12px; font-weight: 400; color: #4b4f56; background: none; border: none; cursor: pointer; padding: 0; line-height: 1; box-shadow: none; outline: none; display: inline; text-decoration: none; float: none; margin: 0; }
.fbmc-box .fbmc-like-btn:hover,
.fbmc-box .fbmc-reply-trigger:hover { text-decoration: underline; }
.fbmc-box .fbmc-dot { color: #90949c; font-size: 11px; margin: 0 4px; pointer-events: none; display: inline; }
.fbmc-box .fbmc-time { font-size: 12px; color: #90949c; font-weight: 400; white-space: nowrap; display: inline; }
.fbmc-box .fbmc-like-count { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; }
.fbmc-box .fbmc-reaction-badge { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.fbmc-box .fbmc-reaction-badge svg { display: block; width: 16px; height: 16px; }
.fbmc-box .fbmc-like-num { font-size: 12px; color: #4b4f56; font-weight: 400; }

/* REPLIES */
.fbmc-box .line-doc { display: none; }
.fbmc-box .fbmc-replies-thread { margin-top: 10px; margin-left: 60px; border-left: 1px solid #e0e0e0; padding-left: 10px; float: none; width: auto; }
.fbmc-box .fbmc-view-replies-wrap { padding: 6px 0 2px; position: relative; float: none; }
.fbmc-box .fbmc-view-replies-wrap .border-left { display: none; }
.fbmc-box .fbmc-reply-inline { display: block; }

/* Reply form */
.fbmc-box .fbmc-reply-form { display: none; margin-top: 6px; margin-left: 60px; flex-direction: row; gap: 8px; align-items: flex-start; }
.fbmc-box .fbmc-reply-form.fbmc-open { display: flex; }
.fbmc-box .fbmc-reply-form .fbmc-wf-avatar { display: none; }
.fbmc-box .fbmc-reply-form .fbmc-wf-inner { flex: 1; border: 1px solid #ccd0d5; border-radius: 3px; overflow: hidden; }
.fbmc-box .fbmc-reply-form .fbmc-wf-inputs { border: none; border-bottom: 1px solid #e5e5e5; padding: 8px 10px; }
.fbmc-box .fbmc-reply-form .fbmc-wf-actions { padding: 6px 8px; background: #f6f7f8; border-top: none; }

/* LOAD MORE */
.fbmc-box .fbmc-load-more-wrap { padding: 10px 0 0; float: none; width: 100%; }
.fbmc-box .fbmc-load-more-btn { display: block; width: 100%; background: #5890ff; color: #fff; border: none; border-radius: 3px; padding: 12px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; line-height: 1.3; float: none; }
.fbmc-box .fbmc-load-more-btn:hover { background: #4a7de8; }
.fbmc-box .fbmc-load-more-count { font-size: 13px; font-weight: 400; }
