/* DD_WATCH_COMMENTS_YOUTUBE_YC1 */

.dd-watch-comments{
    margin-top:24px;
    padding-top:4px;
    color:#f1f1f1;
}

.dd-watch-comments-head{
    display:flex;
    align-items:center;
    min-height:36px;
    margin-bottom:18px;
}

.dd-watch-comments-head h2{
    margin:0;
    font-size:20px;
    font-weight:700;
    line-height:1.3;
}

.dd-watch-comment-status{
    margin:-6px 0 18px;
    padding:10px 12px;
    border-radius:10px;
    background:#263a28;
    color:#d9f6dc;
    font-size:13px;
}

.dd-watch-comment-composer,
.dd-watch-comment,
.dd-watch-comment-login{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:14px;
}

.dd-watch-comment-composer{
    margin-bottom:28px;
}

.dd-watch-comment-avatar{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#3ea6ff;
    color:#0f0f0f;
    font-size:15px;
    font-weight:800;
    user-select:none;
}

.dd-watch-comment-avatar-guest{
    background:#3f3f3f;
    color:#fff;
}

.dd-watch-comment-compose-body{
    min-width:0;
}

.dd-watch-comment-compose-body textarea{
    width:100%;
    min-height:32px;
    max-height:150px;
    resize:none;
    overflow-y:auto;
    padding:6px 0 7px;
    border:0;
    border-bottom:1px solid #3f3f3f;
    border-radius:0;
    outline:none;
    background:transparent;
    color:#f1f1f1;
    font:inherit;
    font-size:14px;
    line-height:1.45;
}

.dd-watch-comment-compose-body textarea:focus{
    border-bottom:2px solid #f1f1f1;
}

.dd-watch-comment-compose-body textarea::placeholder{
    color:#aaa;
}

.dd-watch-comment-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-top:8px;
    opacity:0;
    pointer-events:none;
    transform:translateY(-4px);
    transition:opacity .15s ease,transform .15s ease;
}

.dd-watch-comment-composer.is-active .dd-watch-comment-actions{
    opacity:1;
    pointer-events:auto;
    transform:none;
}

.dd-watch-comment-actions button{
    min-height:36px;
    padding:0 14px;
    border:0;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}

.dd-watch-comment-cancel{
    background:transparent;
    color:#f1f1f1;
}

.dd-watch-comment-cancel:hover{
    background:#272727;
}

.dd-watch-comment-submit{
    background:#3ea6ff;
    color:#0f0f0f;
}

.dd-watch-comment-submit:disabled{
    background:#272727;
    color:#717171;
    cursor:default;
}

.dd-watch-comment-error{
    margin-top:6px;
    color:#ff8a80;
    font-size:12px;
}

.dd-watch-comment-login{
    align-items:center;
    margin-bottom:28px;
    padding:2px 0;
}

.dd-watch-comment-login strong{
    display:block;
    margin-bottom:3px;
    font-size:14px;
}

.dd-watch-comment-login p{
    margin:0 0 9px;
    color:#aaa;
    font-size:13px;
}

.dd-watch-comment-login a{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border:1px solid #3f3f3f;
    border-radius:999px;
    color:#3ea6ff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

.dd-watch-comment-login a:hover{
    background:rgba(62,166,255,.12);
    border-color:rgba(62,166,255,.4);
}

.dd-watch-comment-list{
    display:grid;
    gap:22px;
}

.dd-watch-comment{
    align-items:start;
}

.dd-watch-comment-body{
    min-width:0;
}

.dd-watch-comment-author{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:5px;
}

.dd-watch-comment-author strong{
    color:#f1f1f1;
    font-size:13px;
    font-weight:700;
}

.dd-watch-comment-author time{
    color:#aaa;
    font-size:12px;
}

.dd-watch-comment-body p{
    margin:0;
    color:#f1f1f1;
    font-size:14px;
    line-height:1.45;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.dd-watch-comments-empty{
    padding:18px 0 6px 54px;
    color:#aaa;
    font-size:13px;
}

@media(max-width:700px){
    .dd-watch-comments{
        margin-top:20px;
    }

    .dd-watch-comments-head{
        margin-bottom:14px;
    }

    .dd-watch-comments-head h2{
        font-size:18px;
    }

    .dd-watch-comment-composer,
    .dd-watch-comment,
    .dd-watch-comment-login{
        grid-template-columns:36px minmax(0,1fr);
        gap:10px;
    }

    .dd-watch-comment-avatar{
        width:36px;
        height:36px;
        font-size:13px;
    }

    .dd-watch-comment-body p{
        font-size:13px;
    }

    .dd-watch-comments-empty{
        padding-left:46px;
    }
}

/* DD_WATCH_COMMENTS_YOUTUBE_DELETE_C2 */
.dd-watch-comment-topline{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.dd-watch-comment-menu-wrap{
    position:relative;
    flex:0 0 auto;
    margin-top:-7px;
}

.dd-watch-comment-more{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:999px;
    background:transparent;
    color:#f1f1f1;
    cursor:pointer;
}

.dd-watch-comment-more:hover,
.dd-watch-comment-more:focus-visible{
    background:#272727;
}

.dd-watch-comment-more svg{
    width:20px;
    height:20px;
    fill:currentColor;
}

.dd-watch-comment-delete-menu{
    position:absolute;
    z-index:40;
    top:36px;
    right:0;
    min-width:150px;
    padding:8px 0;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    background:#282828;
    box-shadow:0 10px 30px rgba(0,0,0,.45);
}

.dd-watch-comment-delete-menu[hidden]{
    display:none!important;
}

.dd-watch-comment-delete-menu form{
    margin:0;
}

.dd-watch-comment-delete-menu button{
    width:100%;
    min-height:40px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 14px;
    border:0;
    background:transparent;
    color:#f1f1f1;
    font-size:13px;
    font-weight:600;
    text-align:left;
    cursor:pointer;
}

.dd-watch-comment-delete-menu button:hover{
    background:#3f3f3f;
}

.dd-watch-comment-delete-menu button svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
