.ofol-comments{
    width:min(100%,860px);
    box-sizing:border-box;
    margin:72px auto 28px;
    padding:30px 30px 28px;
    border:1px solid rgba(190,145,52,.45);
    border-radius:22px;
    background:#0b0b0b;
    box-shadow:0 18px 50px rgba(0,0,0,.12);
    direction:rtl;
}

.ofol-comments-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:26px;
    padding-bottom:18px;
    border-bottom:1px solid rgba(190,145,52,.2);
}

.ofol-comments-kicker{
    margin-bottom:6px;
    color:#c99b3e;
    font-size:.78rem;
    font-weight:800;
}

.ofol-comments-title{
    margin:0;
    color:#f5f1e8;
    font-size:clamp(1.35rem,2vw,1.8rem);
    line-height:1.55;
}

.ofol-comments-count{
    min-width:46px;
    height:46px;
    padding:0 10px;
    display:grid;
    place-items:center;
    border:1px solid rgba(201,166,91,.55);
    border-radius:999px;
    color:#d4af58;
    font-weight:800;
    background:rgba(201,166,91,.08);
}

.ofol-comment-list,
.ofol-comment-list .children{
    list-style:none;
    padding:0;
    margin:0;
}

.ofol-comment-list>li+li{margin-top:16px}
.ofol-comment-list .children{margin:14px 34px 0 0}

.ofol-comment-shell{
    padding:20px 22px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:16px;
    background:#111;
}

.ofol-comment-card.is-staff>.ofol-comment-shell{
    border-color:rgba(201,166,91,.52);
    box-shadow:inset 3px 0 0 #c9a65b;
}

.ofol-comment-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:12px;
}

.ofol-comment-author{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

.ofol-comment-identity{
    color:#f5f1e8;
    font-weight:800;
}

.ofol-comment-staff-badge{
    padding:3px 8px;
    border-radius:999px;
    background:rgba(201,166,91,.12);
    border:1px solid rgba(201,166,91,.34);
    color:#d4af58;
    font-size:.7rem;
    font-weight:700;
}

.ofol-comment-date{
    color:#8e8a82;
    font-size:.76rem;
    text-decoration:none;
}

.ofol-comment-text{
    color:#d8d3c9;
    font-size:.98rem;
    line-height:2;
    overflow-wrap:anywhere;
}

.ofol-comment-text p{margin:0 0 10px}
.ofol-comment-text p:last-child{margin-bottom:0}

.ofol-comment-actions{margin-top:13px}
.ofol-comment-actions a{
    color:#c9a65b;
    font-size:.8rem;
    font-weight:700;
    text-decoration:none;
}

.ofol-comment-awaiting{
    margin:0 0 12px;
    color:#d4af58;
    font-size:.82rem;
}

.ofol-comment-form-wrap{margin-top:26px}

.ofol-comment-form-title{
    margin:0 0 9px;
    color:#f5f1e8;
    font-size:1.25rem;
}

.ofol-comment-identity-note{
    margin:0 0 18px;
    color:#99938a;
    font-size:.85rem;
}

.ofol-comment-identity-note strong{color:#d4af58}

.comment-form-comment label{
    display:block;
    margin-bottom:9px;
    color:#c8c1b5;
    font-size:.86rem;
}

.comment-form-comment textarea{
    display:block;
    width:100%;
    min-height:150px;
    resize:vertical;
    box-sizing:border-box;
    padding:15px 17px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    outline:none;
    background:#070707;
    color:#f3eee5;
    font:inherit;
    line-height:1.9;
}

.comment-form-comment textarea:focus{
    border-color:rgba(201,166,91,.78);
    box-shadow:0 0 0 3px rgba(201,166,91,.09);
}

.ofol-comment-submit{
    appearance:none;
    border:1px solid #c9a65b;
    border-radius:999px;
    padding:11px 22px;
    background:#c9a65b;
    color:#090909;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.ofol-comment-login{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:18px;
    padding:19px 20px;
    border:1px solid rgba(201,166,91,.32);
    border-radius:16px;
    background:#111;
}

.ofol-comment-login h3{
    margin:0 0 5px;
    color:#f5f1e8;
    font-size:1rem;
}

.ofol-comment-login p{
    margin:0;
    color:#9a958c;
    font-size:.84rem;
    line-height:1.8;
}

.ofol-comment-login a{
    padding:9px 16px;
    border:1px solid rgba(201,166,91,.58);
    border-radius:999px;
    color:#d4af58;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.ofol-comments .comment-navigation{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin:20px 0;
}

.ofol-comments .comment-navigation a{
    color:#c9a65b;
    text-decoration:none;
}

@media(max-width:640px){
    .ofol-comments{
        margin:48px 14px 20px;
        width:auto;
        padding:22px 18px 20px;
        border-radius:18px;
    }

    .ofol-comments-header{
        align-items:center;
        gap:14px;
        margin-bottom:22px;
        padding-bottom:16px;
    }

    .ofol-comment-list .children{margin-right:12px}
    .ofol-comment-shell{padding:17px 16px}

    .ofol-comment-head{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }

    .ofol-comment-login{
        grid-template-columns:1fr;
        padding:17px 16px;
    }

    .ofol-comment-login a{
        width:100%;
        box-sizing:border-box;
        text-align:center;
    }
}

/* OFOL reply heading fix */
.ofol-comment-form-title{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}

.ofol-comment-form-title #cancel-comment-reply-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0;
    padding:4px 9px;
    border:1px solid rgba(201,166,91,.34);
    border-radius:999px;
    color:#c9a65b;
    font-size:.72rem;
    font-weight:700;
    line-height:1.4;
    text-decoration:none;
    white-space:nowrap;
}
