/*
 * MovieSho Cinema Discussion UI
 * Scope: post comments only. No network requests or runtime polling are introduced here.
 */
.moviesho-comments{
    --ms-comment-bg:#090d14;
    --ms-comment-panel:#0d131e;
    --ms-comment-card:#101824;
    --ms-comment-card-2:#0d141f;
    --ms-comment-border:rgba(255,255,255,.075);
    --ms-comment-border-strong:rgba(255,255,255,.12);
    --ms-comment-text:#e9edf4;
    --ms-comment-muted:#8d98aa;
    --ms-comment-soft:#667286;
    --ms-comment-red:#ef4058;
    --ms-comment-red-soft:rgba(239,64,88,.12);
    --ms-comment-red-border:rgba(239,64,88,.28);
    --ms-comment-gold:#e3c36d;
    --ms-comment-blue:#62aeff;
    --ms-comment-radius:18px;
    direction:rtl;
    width:100%;
    padding:18px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:22px;
    background:
        radial-gradient(circle at 92% 0,rgba(224,54,76,.09),transparent 24%),
        linear-gradient(145deg,#0a0f18,#080c12 58%,#0a0e15);
    box-shadow:0 18px 48px rgba(0,0,0,.16);
    color:var(--ms-comment-text);
}

.moviesho-comments *,
.moviesho-comments *::before,
.moviesho-comments *::after{box-sizing:border-box}

.moviesho-comments__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:14px;
    padding:4px 3px 16px;
    border-bottom:1px solid rgba(255,255,255,.055);
}
.moviesho-comments__heading{min-width:0}
.moviesho-comments__eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:23px;
    padding:4px 9px;
    border:1px solid var(--ms-comment-red-border);
    border-radius:999px;
    background:var(--ms-comment-red-soft);
    color:#ff97a5;
    font:800 9px/1.2 Arial,sans-serif;
    letter-spacing:.25px;
    direction:ltr;
}
.moviesho-comments__heading h2{
    margin:9px 0 4px!important;
    color:#fff!important;
    font-size:19px!important;
    line-height:1.5!important;
    font-weight:900!important;
}
.moviesho-comments__heading p{
    margin:0!important;
    color:var(--ms-comment-muted)!important;
    font-size:11px!important;
    line-height:1.85!important;
    text-align:right!important;
}
.moviesho-comments__count{
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:68px;
    min-height:62px;
    padding:9px 12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:16px;
    background:rgba(255,255,255,.025);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.moviesho-comments__count strong{
    color:#fff;
    font:900 18px/1 Arial,sans-serif;
}
.moviesho-comments__count span{
    margin-top:5px;
    color:var(--ms-comment-muted);
    font-size:9px;
    font-weight:700;
}

/* Composer */
.moviesho-comments .moviesho-comment-composer{
    margin:0 0 19px;
    padding:15px;
    border:1px solid var(--ms-comment-border);
    border-radius:20px;
    background:
        linear-gradient(145deg,rgba(18,27,41,.98),rgba(11,17,27,.98));
    box-shadow:0 14px 34px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.025);
}
.moviesho-comments .comment-respond{
    width:100%;
    float:none;
    padding:0!important;
    margin:0!important;
}
.moviesho-comment-composer__title{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}
.moviesho-comment-composer__title>div>span{
    display:block;
    margin-bottom:2px;
    color:#d76273;
    font-size:9px;
    font-weight:850;
}
.moviesho-comments .comment-title-reply{
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    font-size:15px!important;
    line-height:1.6!important;
    font-weight:900!important;
}
.moviesho-comment-composer__title>small{
    max-width:42%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#8f9caf;
    font-size:9.5px;
    font-weight:700;
}
.moviesho-comments .comment-respond form{
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:12px;
    width:100%;
    margin:0;
}
.moviesho-comment-composer__avatar{
    width:48px;
    height:48px;
    padding:2px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:50%;
    background:linear-gradient(145deg,#182234,#0b111b);
    box-shadow:0 7px 18px rgba(0,0,0,.24);
}
.moviesho-comment-composer__avatar img{
    display:block;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    object-fit:cover;
}
.moviesho-comments .comment-form-content{min-width:0;width:100%}
.moviesho-comments .comment-form-textarea{
    display:flex;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:15px!important;
    background:#0a111b;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
    transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.moviesho-comments .comment-form-textarea:focus-within{
    border-color:rgba(239,64,88,.42)!important;
    background:#0b121d;
    box-shadow:0 0 0 3px rgba(239,64,88,.06),inset 0 1px 0 rgba(255,255,255,.025);
}
.moviesho-comments .comment-respond textarea{
    display:block;
    width:100%;
    min-height:112px;
    padding:14px 15px 11px;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    resize:vertical;
    background:transparent!important;
    color:#e9edf4!important;
    font-size:13px!important;
    line-height:2!important;
}
.moviesho-comments .comment-respond textarea::placeholder{color:#667286!important;font-size:11.5px!important}
.moviesho-comments .moviesho-comment-tools{
    display:flex;
    align-items:center;
    gap:6px;
    min-height:43px;
    margin:0!important;
    padding:6px 8px!important;
    border-top:1px solid rgba(255,255,255,.055);
    background:rgba(255,255,255,.018)!important;
    list-style:none;
}
.moviesho-comments .moviesho-comment-tools li{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:29px;
    margin:0!important;
    padding:5px 8px;
    border:1px solid transparent;
    border-radius:9px;
    color:#7f8b9e!important;
    font-size:9.5px!important;
    font-weight:750;
    line-height:1;
    cursor:pointer;
    user-select:none;
    transition:color .15s ease,border-color .15s ease,background .15s ease;
}
.moviesho-comments .moviesho-comment-tools li:hover{
    border-color:rgba(255,255,255,.075);
    background:rgba(255,255,255,.035);
    color:#dfe5ee!important;
}
.moviesho-comments .moviesho-comment-tools li svg{width:15px!important;height:15px!important;fill:currentColor}
.moviesho-comments .moviesho-comment-tools .moviesho-comment-charcount{
    margin-right:auto!important;
    margin-left:0!important;
    min-width:38px;
    justify-content:center;
    border-color:rgba(255,255,255,.055);
    background:rgba(255,255,255,.025);
    color:#667286!important;
    font:800 9px/1 Arial,sans-serif!important;
    cursor:default;
}
.moviesho-comment-submit-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:10px;
}
.moviesho-comment-submit-note{
    color:#667286;
    font-size:9.5px;
    line-height:1.8;
}
.moviesho-comment-submit-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.moviesho-comments .comment-respond form .comment-form-content button[type="submit"]{
    min-width:112px;
    min-height:38px;
    margin:0!important;
    padding:8px 17px!important;
    border:1px solid rgba(255,129,146,.13)!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#ef4058,#cb2e45)!important;
    box-shadow:0 8px 18px rgba(194,37,59,.19),inset 0 1px 0 rgba(255,255,255,.15);
    color:#fff!important;
    font-size:11px!important;
    font-weight:850!important;
    line-height:1!important;
    cursor:pointer;
    transition:transform .15s ease,filter .15s ease,box-shadow .15s ease;
}
.moviesho-comments .comment-respond form .comment-form-content button[type="submit"]:hover{
    opacity:1!important;
    filter:brightness(1.07);
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(194,37,59,.24),inset 0 1px 0 rgba(255,255,255,.16);
}
.moviesho-comments #cancel-comment-reply-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    margin:0!important;
    padding:7px 12px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.025)!important;
    color:#8995a7!important;
    font-size:9.5px!important;
    font-weight:750;
}
.moviesho-comments #cancel-comment-reply-link:hover{filter:none!important;color:#e7ebf2!important;border-color:rgba(255,255,255,.13)!important}
.moviesho-comments .moviesho-comment-guest{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;
    gap:8px;
    margin-top:9px!important;
}
.moviesho-comments .moviesho-comment-guest .comment-form-inputs{width:100%!important;padding:0!important}
.moviesho-comments .comment-respond input[type="text"],
.moviesho-comments .comment-respond input[type="email"]{
    width:100%!important;
    height:38px!important;
    padding:0 11px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:10px!important;
    outline:0!important;
    background:#0a111b!important;
    color:#e3e8ef!important;
    font-size:11px!important;
}
.moviesho-comments .comment-respond input[type="text"]:focus,
.moviesho-comments .comment-respond input[type="email"]:focus{border-color:rgba(239,64,88,.4)!important;box-shadow:0 0 0 3px rgba(239,64,88,.055)}
.moviesho-comments .comment-respond input::placeholder{color:#667286!important;font-size:9.5px!important}

/* Stream */
.moviesho-comments__stream{
    margin-top:2px;
    padding-top:4px;
}
.moviesho-comments__stream-head{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 2px 10px;
}
.moviesho-comments__stream-head strong{color:#e6ebf2;font-size:12px;font-weight:900}
.moviesho-comments__stream-head span{color:#657184;font-size:9.5px}
.moviesho-comments .comment_list{
    width:100%;
    float:none;
    margin:0;
    padding:0!important;
    border:0!important;
    list-style:none;
}
.moviesho-comments .comment,
.moviesho-comments .comment[class*="msp-public-level-"]{
    width:100%;
    float:none;
    margin:0;
    padding:0;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    list-style:none;
}
.moviesho-comments .comment+.comment{margin-top:9px}
.moviesho-comments .moviesho-comment-card{
    position:relative;
    display:block;
    overflow:hidden;
    margin:0!important;
    padding:13px 14px 11px!important;
    border:1px solid var(--ms-comment-border)!important;
    border-radius:var(--ms-comment-radius)!important;
    background:linear-gradient(145deg,rgba(16,24,36,.98),rgba(12,19,29,.98))!important;
    box-shadow:0 9px 24px rgba(0,0,0,.105),inset 0 1px 0 rgba(255,255,255,.018);
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.moviesho-comments .moviesho-comment-card:hover{
    border-color:rgba(255,255,255,.105)!important;
    box-shadow:0 11px 29px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025);
}
.moviesho-comments .comment[class*="msp-public-level-"]>.moviesho-comment-card::before{
    content:"";
    position:absolute;
    top:13px;
    right:0;
    bottom:13px;
    width:2px;
    border-radius:3px 0 0 3px;
    background:var(--msp-level-color,#8d98aa);
    opacity:.52;
}
.moviesho-comments .comment.msp-public-vip>.moviesho-comment-card::before{width:2px;background:var(--ms-comment-gold);opacity:.8}
.moviesho-comments .comment.msp-site-admin>.moviesho-comment-card::before{width:2px;background:var(--ms-comment-blue);opacity:.82}
.moviesho-comments .comment.msp-public-level-10:not(.msp-public-vip):not(.msp-site-admin)>.moviesho-comment-card{
    border-color:rgba(245,207,107,.18)!important;
    background:
        radial-gradient(circle at 92% 10%,rgba(245,207,107,.075),transparent 24%),
        linear-gradient(145deg,rgba(20,26,36,.99),rgba(12,18,27,.99))!important;
    box-shadow:0 0 0 1px rgba(245,207,107,.045),0 13px 32px rgba(100,70,12,.11),inset 0 1px 0 rgba(255,247,213,.035)!important;
}
.moviesho-comments .comment.msp-public-level-10:not(.msp-public-vip):not(.msp-site-admin)>.moviesho-comment-card::before{width:3px;opacity:.95}

.moviesho-comments .moviesho-comment-card__header{
    display:flex!important;
    align-items:center!important;
    min-height:48px;
    padding:0!important;
    overflow:visible!important;
}
.moviesho-comment-avatar-shell{
    position:relative;
    flex:0 0 46px;
    width:46px;
    height:46px;
    margin-left:11px;
}
.moviesho-comments .moviesho-comment-avatar-shell img.avatar{
    display:block;
    width:46px!important;
    height:46px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%!important;
    object-fit:cover;
    background:#111927;
}
.moviesho-comments .author-box{
    min-width:0;
    margin:0!important;
}
.moviesho-comments .header .author-name{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap;
    gap:5px;
    min-width:0;
    margin:0 0 3px!important;
    color:#f3f5f9!important;
    font-size:12px!important;
    line-height:1.8!important;
    font-weight:850!important;
}
.moviesho-comments .author-box .comment-date{
    color:#687487!important;
    font-size:9px!important;
    line-height:1.5!important;
}
.moviesho-comments .author-box .comment-date time{direction:ltr;display:inline-block;font-family:Arial,sans-serif;font-weight:700}
.moviesho-comments .comment-awaiting-moderation{
    display:inline-grid;
    place-items:center;
    width:20px;
    height:20px;
    margin:0 2px;
    border:1px solid rgba(245,189,66,.22);
    border-radius:7px;
    background:rgba(245,189,66,.08);
    color:#e9bd58!important;
    font-size:9px;
}

/* MovieSho Plus identity integration */
.moviesho-comments .msp-comment-identity{gap:5px;max-width:100%}
.moviesho-comments .msp-comment-author-link{color:#f3f5f9!important;font-weight:850!important}
.moviesho-comments .msp-comment-author-link:hover{color:#ff8d9d!important}
.moviesho-comments .msp-comment-cinema-title{color:#808b9d!important;font-size:9px!important}
.moviesho-comments .msp-comment-cinema-title:before{color:#4f5968!important}
.moviesho-comments .msp-comment-statuses{gap:4px}
.moviesho-comments .msp-comment-admin-badge{
    min-height:22px;
    padding:3px 7px;
    border-radius:8px;
    border-color:rgba(85,168,255,.25);
    background:rgba(65,145,230,.085);
    box-shadow:none;
}
.moviesho-comments .msp-comment-admin-badge b{font-size:8.5px;color:#8ec7ff}
.moviesho-comments .msp-comment-vip{box-shadow:none!important}
.moviesho-comments .msp-comment-level{box-shadow:none!important}
.moviesho-comments .msp-comment-medals .msp-comment-medal{box-shadow:none}

.moviesho-comments .moviesho-comment-card__content{
    width:100%;
    margin:10px 0 0!important;
    padding:0 57px 0 5px!important;
}
.moviesho-comments .moviesho-comment-card__content>p,
.moviesho-comments .moviesho-comment-card__content .commentSpiolBody p{
    margin:0!important;
    color:#cbd3df!important;
    font-size:14px!important;
    line-height:2.05!important;
    text-align:right!important;
    word-break:break-word;
}
.moviesho-comments .moviesho-comment-card__content a{color:#f28b9a;text-decoration:none}
.moviesho-comments .moviesho-comment-card__content a:hover{color:#ffb2bd}
.moviesho-comments .moviesho-comment-card__content blockquote{
    margin:8px 0!important;
    padding:10px 12px!important;
    border:1px solid rgba(255,255,255,.06)!important;
    border-right:2px solid rgba(239,64,88,.55)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.025)!important;
    color:#aeb8c7!important;
    font-style:normal!important;
}
.moviesho-comments .moviesho-comment-card__content blockquote::before{display:none!important}
.moviesho-comments .moviesho-comment-card__content blockquote p{color:#aeb8c7!important;font-size:11px!important;line-height:1.95!important}
.moviesho-comments .comment-private{
    display:flex;
    align-items:center;
    min-height:42px;
    padding:9px 11px!important;
    border:1px solid rgba(239,64,88,.16);
    border-radius:10px;
    background:rgba(239,64,88,.055);
    color:#e98593!important;
    font-size:10.5px!important;
    font-weight:750!important;
}

/* Spoiler */
.moviesho-comments .commentSpoil{
    position:relative;
    margin:0!important;
    padding:0;
    border:1px solid rgba(232,171,72,.16);
    border-radius:12px;
    background:rgba(232,171,72,.045);
    cursor:pointer;
    overflow:hidden;
}
.moviesho-comments .commentSpoil>span{
    display:flex!important;
    align-items:center;
    min-height:43px!important;
    height:auto!important;
    margin:0!important;
    padding:9px 12px;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    color:#d6ad67!important;
    font-size:10px!important;
    font-weight:800;
    line-height:1.7;
}
.moviesho-comments .commentSpoil>span::after{
    content:"نمایش";
    margin-right:auto;
    padding:4px 7px;
    border:1px solid rgba(232,171,72,.15);
    border-radius:7px;
    color:#bf9654;
    font-size:8px;
    line-height:1;
}
.moviesho-comments .commentSpoil.has-spoil .commentSpiolBody{
    height:0;
    max-height:0;
    padding:0 12px;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
}
.moviesho-comments .commentSpoil.has-spoil .commentSpiolBody p{
    height:0!important;
    min-height:0!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
}
.moviesho-comments .commentSpoil:not(.has-spoil)>span{border-bottom:1px solid rgba(232,171,72,.10)}
.moviesho-comments .commentSpoil:not(.has-spoil)>span::after{content:"پنهان کردن"}
.moviesho-comments .commentSpoil:not(.has-spoil) .commentSpiolBody{
    height:auto;
    max-height:none;
    padding:10px 12px 12px;
    opacity:1;
    pointer-events:auto;
}
.moviesho-comments .commentSpoil:not(.has-spoil) .commentSpiolBody p{
    height:auto!important;
    min-height:0!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
}

/* Actions */
.moviesho-comments .moviesho-comment-card__footer{
    display:flex!important;
    align-items:center!important;
    gap:5px;
    margin:10px 0 0!important;
    padding:0 57px 0 5px!important;
}
.moviesho-comments .fmc-like-dislike{display:flex;align-items:center;gap:4px}
.moviesho-comments .fmc-like-dislike button{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center;
    gap:5px;
    min-width:39px;
    min-height:29px;
    margin:0!important;
    padding:5px 8px!important;
    border:1px solid rgba(255,255,255,.055)!important;
    border-radius:9px!important;
    outline:0!important;
    background:rgba(255,255,255,.018)!important;
    color:#737f91!important;
    font-size:9px!important;
    transition:color .14s ease,border-color .14s ease,background .14s ease,transform .14s ease;
}
.moviesho-comments .fmc-like-dislike button:hover{
    transform:translateY(-1px);
    border-color:rgba(239,64,88,.16)!important;
    background:rgba(239,64,88,.055)!important;
    color:#e17c8b!important;
}
.moviesho-comments .fmc-like-dislike button svg{width:13px!important;height:13px!important;fill:currentColor}
.moviesho-comments .moviesho-comment-reaction-count{margin:0!important;font:800 9px/1 Arial,sans-serif}
.moviesho-comments .moviesho-comment-reply{margin-right:1px}
.moviesho-comments .comment-reply-link,
.moviesho-comments .comment-reply-login{
    display:inline-flex!important;
    align-items:center;
    gap:5px;
    min-height:29px;
    padding:5px 9px!important;
    border:1px solid rgba(255,255,255,.055)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.018)!important;
    color:#7b8798!important;
    font-size:9.5px!important;
    font-weight:750;
    line-height:1!important;
    transition:color .14s ease,border-color .14s ease,background .14s ease,transform .14s ease;
}
.moviesho-comments .comment-reply-link:hover,
.moviesho-comments .comment-reply-login:hover{
    filter:none!important;
    transform:translateY(-1px);
    border-color:rgba(239,64,88,.16)!important;
    background:rgba(239,64,88,.055)!important;
    color:#e8929f!important;
}
.moviesho-comments .comment-reply-link i{font-size:10px}

/* Threaded replies */
.moviesho-comments .children{
    position:relative;
    width:calc(100% - 22px)!important;
    float:none!important;
    margin:8px 22px 0 0!important;
    padding:0 16px 0 0!important;
    border-right:1px solid rgba(255,255,255,.075);
    list-style:none;
}
.moviesho-comments .comment_list .comment>.children::before,
.moviesho-comments .comment_list .children .comment_box::before{display:none!important;content:none!important}
.moviesho-comments .comment_list .children .comment_box{
    border-color:rgba(255,255,255,.065)!important;
    background:linear-gradient(145deg,rgba(14,22,33,.98),rgba(10,16,25,.98))!important;
}
.moviesho-comments .comment_list .children .comment_box p{color:#c4ccd8!important}

/* Empty/closed/login states */
.moviesho-comments .moviesho-comment-state,
.moviesho-comments .moviesho-comment-empty{
    width:100%!important;
    float:none!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:0!important;
    padding:22px 16px!important;
    border:1px dashed rgba(255,255,255,.09)!important;
    border-radius:17px!important;
    background:rgba(255,255,255,.018)!important;
    color:var(--ms-comment-muted)!important;
    text-align:center;
}
.moviesho-comments .moviesho-comment-state{flex-direction:column}
.moviesho-comment-state__icon,
.moviesho-comment-empty__icon{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:0 0 44px;
    border:1px solid var(--ms-comment-red-border);
    border-radius:14px;
    background:var(--ms-comment-red-soft);
    color:#e46f80;
}
.moviesho-comment-state__icon svg,
.moviesho-comment-empty__icon svg{width:20px;height:20px;fill:currentColor}
.moviesho-comments .moviesho-comment-state strong,
.moviesho-comments .moviesho-comment-empty strong{display:block;color:#dce2eb;font-size:11.5px;font-weight:850}
.moviesho-comments .moviesho-comment-state p,
.moviesho-comments .moviesho-comment-empty p{margin:3px 0 0!important;color:#748094!important;font-size:9.5px!important;line-height:1.8!important}
.moviesho-comments .moviesho-comment-state a{
    margin-top:3px;
    padding:7px 14px;
    border:1px solid var(--ms-comment-red-border);
    border-radius:9px;
    background:var(--ms-comment-red-soft);
    color:#f18d9b;
    font-size:10px;
    font-weight:800;
}
.moviesho-comments .moviesho-comment-empty{text-align:right;justify-content:flex-start}

/* Progressive loading */
.moviesho-comments__navigation{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin-top:22px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.045);
}

.moviesho-comments button.btn.moviesho-comments-load-more{
    min-width:154px;
    min-height:38px;
    padding:8px 15px!important;
    border:1px solid rgba(255,255,255,.09)!important;
    border-radius:11px!important;
    outline:0!important;
    background:rgba(255,255,255,.025)!important;
    color:#aab4c3!important;
    font-size:10px!important;
    font-weight:800;
    box-shadow:none!important;
    transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.moviesho-comments button.btn.moviesho-comments-load-more:hover{
    border-color:rgba(239,64,88,.20)!important;
    background:rgba(239,64,88,.055)!important;
    color:#e68a98!important;
}
.moviesho-comments button.btn.moviesho-comments-load-more[aria-busy="true"]{cursor:wait;opacity:.62}

@media(max-width:760px){
    .moviesho-comments{padding:12px;border-radius:17px}
    .moviesho-comments__head{align-items:flex-start;gap:10px;padding-bottom:13px}
    .moviesho-comments__heading h2{font-size:16px!important}
    .moviesho-comments__heading p{font-size:10px!important;line-height:1.75!important}
    .moviesho-comments__count{min-width:58px;min-height:55px;padding:7px 9px;border-radius:13px}
    .moviesho-comments__count strong{font-size:16px}
    .moviesho-comments .moviesho-comment-composer{padding:12px;border-radius:16px}
    .moviesho-comments .comment-respond form{grid-template-columns:40px minmax(0,1fr);gap:9px}
    .moviesho-comment-composer__avatar{width:40px;height:40px}
    .moviesho-comments .comment-respond textarea{min-height:104px;padding:12px;font-size:12px!important}
    .moviesho-comments .moviesho-comment-tools{gap:3px;padding:5px 6px!important}
    .moviesho-comments .moviesho-comment-tools li{min-height:27px;padding:5px 6px;font-size:9px!important}
    .moviesho-comments .moviesho-comment-tools li span{display:none}
    .moviesho-comment-submit-row{align-items:stretch;flex-direction:column;margin-top:8px}
    .moviesho-comment-submit-note{display:none}
    .moviesho-comment-submit-actions{justify-content:flex-end}
    .moviesho-comments .moviesho-comment-guest{grid-template-columns:1fr 1fr!important}
    .moviesho-comments .moviesho-comment-guest button[type="submit"]{width:100%;grid-column:1/3}
    .moviesho-comments .moviesho-comment-guest #cancel-comment-reply-link{grid-column:1/3}
    .moviesho-comments .moviesho-comment-card{padding:11px 11px 10px!important;border-radius:15px!important}
    .moviesho-comment-avatar-shell{flex-basis:40px;width:40px;height:40px;margin-left:9px}
    .moviesho-comments .moviesho-comment-avatar-shell img.avatar{width:40px!important;height:40px!important}
    .moviesho-comments .header .author-name{font-size:11px!important;gap:4px}
    .moviesho-comments .msp-comment-identity{flex-wrap:wrap!important}
    .moviesho-comments .msp-comment-cinema-title{max-width:130px}
    .moviesho-comments .moviesho-comment-card__content{margin-top:9px!important;padding:0 49px 0 1px!important}
    .moviesho-comments .moviesho-comment-card__content>p,
    .moviesho-comments .moviesho-comment-card__content .commentSpiolBody p{font-size:13.5px!important;line-height:2!important}
    .moviesho-comments .moviesho-comment-card__footer{padding:0 49px 0 1px!important}
    .moviesho-comments .children{width:calc(100% - 8px)!important;margin-right:8px!important;padding-right:8px!important}
}

@media(max-width:470px){
    .moviesho-comments{padding:10px}
    .moviesho-comments__heading p{display:none}
    .moviesho-comments__eyebrow{font-size:8px}
    .moviesho-comments .moviesho-comment-composer{padding:10px}
    .moviesho-comment-composer__title>small{display:none}
    .moviesho-comments .comment-respond form{grid-template-columns:1fr}
    .moviesho-comment-composer__avatar{display:none}
    .moviesho-comments .moviesho-comment-guest{grid-template-columns:1fr!important}
    .moviesho-comments .moviesho-comment-guest button[type="submit"],
    .moviesho-comments .moviesho-comment-guest #cancel-comment-reply-link{grid-column:auto}
    .moviesho-comments .moviesho-comment-card__content,
    .moviesho-comments .moviesho-comment-card__footer{padding-right:0!important;padding-left:0!important}
    .moviesho-comments .moviesho-comment-card__content{margin-top:10px!important}
    .moviesho-comments .moviesho-comment-card__footer{margin-top:9px!important}
    .moviesho-comments .moviesho-comment-empty{padding:16px 12px!important}
    .moviesho-comments .msp-comment-level{min-width:42px!important;height:25px!important}
    .moviesho-comments .msp-comment-medals .msp-comment-medal{width:22px!important;height:22px!important}
}

/* 1.1.4 — comment polish: scoped identity, compact replies and persistent reaction state. */
.moviesho-comments .comment_list > li.comment,
.moviesho-comments .comment_list .children > li.comment{
    box-shadow:none!important;
    background-image:none!important;
}

.moviesho-comments .comment_list li.comment[class*="msp-public-level-"]:not(.msp-public-vip):not(.msp-site-admin){
    box-shadow:none!important;
    background-image:none!important;
}

/* Keep each member's visual level on that member's own card only. */
.moviesho-comments li.comment[class*="msp-public-level-"] > .moviesho-comment-card::before{
    background:var(--msp-level-color,#8d98aa)!important;
}
.moviesho-comments li.comment.msp-public-level-10:not(.msp-public-vip):not(.msp-site-admin) > .moviesho-comment-card{
    border-color:rgba(245,207,107,.22)!important;
    background:
        radial-gradient(circle at 94% 12%,rgba(245,207,107,.065),transparent 23%),
        linear-gradient(145deg,rgba(18,25,35,.99),rgba(11,17,26,.99))!important;
    box-shadow:0 10px 26px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,247,213,.035)!important;
}
.moviesho-comments li.comment.msp-public-level-10:not(.msp-public-vip):not(.msp-site-admin) > .moviesho-comment-card::before{
    width:3px!important;
    opacity:.92!important;
}

/* Reset inherited avatar rings from ancestor comments, then apply the current comment's own state. */
.moviesho-comments li.comment > .moviesho-comment-card .moviesho-comment-avatar-shell > img.avatar{
    border-color:rgba(255,255,255,.14)!important;
    box-shadow:none!important;
}
.moviesho-comments li.comment:not(.msp-public-vip):not(.msp-site-admin)[class*="msp-public-level-"] > .moviesho-comment-card .moviesho-comment-avatar-shell > img.avatar{
    border-color:var(--msp-level-color)!important;
    box-shadow:0 0 0 2px color-mix(in srgb,var(--msp-level-color) 66%,transparent),0 0 0 4px var(--msp-level-glow),0 6px 18px rgba(0,0,0,.18)!important;
}
.moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .moviesho-comment-avatar-shell > img.avatar{
    border-color:#d9b65e!important;
    box-shadow:0 0 0 2px #d9b65e,0 0 0 4px rgba(217,182,94,.12),0 6px 18px rgba(0,0,0,.19)!important;
}
.moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .moviesho-comment-avatar-shell > img.avatar{
    border-color:#55a8ff!important;
    box-shadow:0 0 0 2px #429bfa,0 0 0 4px rgba(66,155,250,.12),0 6px 18px rgba(0,0,0,.19)!important;
}

/* Level badge styling must also belong to the current comment, never its parent thread. */
.moviesho-comments li.comment[class*="msp-public-level-"] > .moviesho-comment-card .msp-comment-level{
    border-color:color-mix(in srgb,var(--msp-level-color) 38%,transparent)!important;
    background:linear-gradient(145deg,var(--msp-level-soft),rgba(10,15,24,.78))!important;
    color:var(--msp-level-color)!important;
    box-shadow:none!important;
}
.moviesho-comments li.comment.msp-public-level-10 > .moviesho-comment-card .msp-comment-level{
    border-color:rgba(250,217,126,.48)!important;
    background:linear-gradient(145deg,rgba(245,207,107,.21),rgba(86,58,9,.14))!important;
    color:#f5cf6b!important;
}

/* Instagram-like verification mark beside the account name. */
.moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after,
.moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after{
    content:"✓";
    display:inline-grid;
    place-items:center;
    width:15px;
    height:15px;
    flex:0 0 15px;
    margin-inline-start:4px;
    clip-path:polygon(50% 0,62% 9%,78% 5%,85% 20%,100% 28%,94% 44%,100% 59%,86% 68%,80% 84%,63% 82%,50% 100%,38% 89%,22% 94%,15% 79%,0 71%,6% 55%,0 40%,14% 31%,20% 15%,37% 18%);
    color:#fff;
    font:950 9px/1 Arial,sans-serif;
    text-shadow:0 1px 1px rgba(0,0,0,.18);
    transform:translateY(-.5px);
}
.moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after{
    background:#2f9bf3;
    box-shadow:0 0 0 2px rgba(47,155,243,.11);
}
.moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after{
    background:#e1b84e;
    color:#17130a;
    box-shadow:0 0 0 2px rgba(225,184,78,.10);
}
/* The supporter check is now represented beside the name; keep the avatar ring but avoid a duplicate icon. */
.moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .msp-comment-vip{
    display:none!important;
}
.moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .msp-comment-statuses:has(> .msp-comment-vip){
    display:none!important;
}
/* Keep the admin label, but use the new verification mark as its check. */
.moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .msp-comment-admin-badge svg{
    display:none!important;
}
.moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .msp-comment-admin-badge{
    min-height:21px!important;
    padding:2px 7px!important;
    border-color:rgba(85,168,255,.22)!important;
    background:rgba(55,143,230,.065)!important;
}

/* Slight visual polish without changing the established MovieSho layout. */
.moviesho-comments .moviesho-comment-card{
    padding:12px 13px 10px!important;
}
.moviesho-comments .moviesho-comment-card__content{
    margin-top:8px!important;
}
.moviesho-comments .moviesho-comment-card__footer{
    margin-top:8px!important;
}
.moviesho-comments .children{
    margin-top:7px!important;
    border-right-color:rgba(255,255,255,.06)!important;
}
.moviesho-comments .comment_list .children .moviesho-comment-card{
    background:linear-gradient(145deg,rgba(14,21,31,.985),rgba(10,16,24,.985))!important;
}

/* Instagram-style collapsed replies: show one direct reply by default. */
.moviesho-comments .moviesho-reply-is-collapsed[hidden]{
    display:none!important;
}
.moviesho-comments .moviesho-replies-toggle-row{
    width:100%;
    margin:6px 0 3px!important;
    padding:0!important;
    list-style:none!important;
    background:transparent!important;
    box-shadow:none!important;
}
.moviesho-comments .moviesho-replies-toggle{
    appearance:none;
    -webkit-appearance:none;
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    margin:4px 0 2px!important;
    padding:7px 12px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:12px!important;
    outline:0!important;
    background:rgba(255,255,255,.035)!important;
    color:#aab5c5!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1.4!important;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(0,0,0,.12)!important;
    transition:.18s ease;
}

.moviesho-comments .moviesho-replies-toggle:hover,
.moviesho-comments .moviesho-replies-toggle.is-expanded{
    color:#fff!important;
    border-color:rgba(239,64,88,.35)!important;
    background:rgba(239,64,88,.10)!important;
}

.moviesho-comments .moviesho-replies-toggle__line{
    width:28px;
    height:2px;
    background:rgba(170,181,197,.55);
}

.moviesho-comments .moviesho-replies-toggle__line{
    display:block;
    width:24px;
    height:1px;
    background:rgba(135,147,165,.42);
    transition:width .14s ease,background .14s ease;
}
.moviesho-comments .moviesho-replies-toggle:hover,
.moviesho-comments .moviesho-replies-toggle.is-expanded{
    color:#aab5c5!important;
}
.moviesho-comments .moviesho-replies-toggle:hover .moviesho-replies-toggle__line,
.moviesho-comments .moviesho-replies-toggle.is-expanded .moviesho-replies-toggle__line{
    width:30px;
    background:rgba(170,181,197,.55);
}

/* Persist successful reaction choice visually: like = green, dislike = red. */
.moviesho-comments .fmc-like-dislike .fm-like-it.is-voted,
.moviesho-comments .fmc-like-dislike .fm-like-it.is-voted:hover{
    border-color:rgba(50,190,111,.32)!important;
    background:rgba(35,166,91,.10)!important;
    color:#52d58c!important;
    transform:none!important;
}
.moviesho-comments .fmc-like-dislike .fm-dislike-it.is-voted,
.moviesho-comments .fmc-like-dislike .fm-dislike-it.is-voted:hover{
    border-color:rgba(239,76,92,.34)!important;
    background:rgba(224,55,72,.10)!important;
    color:#f06d7a!important;
    transform:none!important;
}
.moviesho-comments .fmc-like-dislike button[aria-pressed="true"] svg{
    filter:drop-shadow(0 2px 5px currentColor);
}

@media(max-width:760px){
    .moviesho-comments li.comment.msp-site-admin > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after,
    .moviesho-comments li.comment.msp-public-vip:not(.msp-site-admin) > .moviesho-comment-card .author-name > .msp-comment-identity > .msp-comment-author-link::after{
        width:14px;
        height:14px;
        flex-basis:14px;
        font-size:8px;
    }
    .moviesho-comments .moviesho-replies-toggle{
        font-size:9px!important;
    }
}
