/* Jut.su uslubidagi izohlar — ZipNationMovies */

.jutsu-sect--comments {
    margin-top: 1.5rem;
}

.jutsu-sect--comments .jutsu-sect__header {
    margin-bottom: 1rem;
}

.jutsu-sect__title {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jutsu-sect__title::before {
    content: "💬";
}

.jutsu-sect__subtitle {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.25rem;
}

.jutsu-sect__series-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(233, 30, 140, 0.12);
    color: var(--primary, #e91e8c);
    font-size: 0.78rem;
    font-weight: 600;
}

.ac-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
}

.ac-form__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.ac-form__tool {
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.ac-form__tool:hover {
    color: var(--text);
    border-color: var(--primary, #e91e8c);
}

.ac-form__tool-code {
    font-family: ui-monospace, monospace;
}

.ac-form__editor textarea {
    width: 100%;
    min-height: 72px;
    max-height: 160px;
    border: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    outline: none;
    line-height: 1.5;
}

.ac-form__hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0.35rem 0 0.5rem;
}

.ac-form__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.ac-form__btn {
    border: none;
    border-radius: 10px;
    padding: 0.45rem 1.1rem;
    background: var(--gradient, linear-gradient(135deg, #e91e8c, #9c27b0));
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.comment-reply-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.5rem;
    background: rgba(233, 30, 140, 0.1);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--primary, #e91e8c);
}

.comment-reply-cancel {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

.comments-tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.comments-tree-item--reply {
    margin-left: 1.75rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--border);
}

/* —— jutsu-comm kartochka —— */
.jutsu-comm {
    background: var(--bg-card, var(--bg-elevated));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.9rem 1rem 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.jutsu-comm--current {
    border-color: rgba(233, 30, 140, 0.45);
    box-shadow: 0 0 0 1px rgba(233, 30, 140, 0.15);
}

.jutsu-comm--plus .jutsu-comm__rating-score {
    color: #66bb6a;
}

.jutsu-comm--minus .jutsu-comm__rating-score {
    color: #ef5350;
}

.jutsu-comm--royal {
    border-left: 3px solid #4caf50;
}

.jutsu-comm--prime {
    border-left: 3px solid #e91e8c;
}

.jutsu-comm__desc {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.jutsu-comm__img {
    flex-shrink: 0;
}

.jutsu-comm__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--primary, #e91e8c);
}

.jutsu-comm--royal .jutsu-comm__avatar {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    border: none;
}

.jutsu-comm--prime .jutsu-comm__avatar {
    background: linear-gradient(135deg, #e91e8c, #ad1457);
    color: #fff;
    border: none;
}

.jutsu-comm__meta {
    flex: 1;
    min-width: 0;
}

.jutsu-comm__author {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
}

.jutsu-comm__badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.jutsu-comm__badge--prime {
    background: rgba(233, 30, 140, 0.2);
    color: #ff80ab;
}

.jutsu-comm__badge--royal {
    background: rgba(76, 175, 80, 0.2);
    color: #a5d6a7;
}

.jutsu-comm__ctx {
    font-size: 0.75rem;
    color: var(--primary, #e91e8c);
    margin-top: 0.15rem;
    font-weight: 500;
}

.jutsu-comm__date {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.jutsu-comm__main {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text);
    word-break: break-word;
    margin-bottom: 0.65rem;
}

.jutsu-comm__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.jutsu-comm__num {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.jutsu-comm__num::before {
    content: "💬";
    font-size: 0.85rem;
}

.jutsu-comm__action {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    flex: 1;
}

.jutsu-comm__action button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.jutsu-comm__action button:hover {
    color: var(--primary, #e91e8c);
}

.jutsu-comm__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.jutsu-comm__vote {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.jutsu-comm__vote:hover {
    border-color: var(--primary, #e91e8c);
    transform: scale(1.06);
}

.jutsu-comm__vote.is-active-like {
    background: rgba(102, 187, 106, 0.22);
    border-color: #66bb6a;
    box-shadow: 0 0 0 2px rgba(102, 187, 106, 0.25);
    transform: scale(1.05);
}

.jutsu-comm__vote.is-active-dislike {
    background: rgba(239, 83, 80, 0.18);
    border-color: #ef5350;
    box-shadow: 0 0 0 2px rgba(239, 83, 80, 0.2);
    transform: scale(1.05);
}

.jutsu-comm__rating-score {
    min-width: 2rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.jutsu-comm__rating-score.is-positive {
    color: #66bb6a;
}

.jutsu-comm__rating-score.is-negative {
    color: #ef5350;
}

.comment-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

.comment-guest {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px dashed var(--border);
    margin-bottom: 1rem;
}

/* Matn formatlari */
.zn-comment-quote {
    margin: 0.5rem 0;
    padding: 0.55rem 0.85rem;
    border-left: 3px solid var(--primary, #e91e8c);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-style: italic;
}

.zn-comment-code {
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.85em;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.jutsu-comm__main strong {
    font-weight: 700;
    color: var(--text);
}

.zn-spoiler {
    display: inline;
}

.zn-spoiler-reveal {
    border: 1px dashed rgba(239, 83, 80, 0.6);
    background: rgba(239, 83, 80, 0.08);
    color: #ef9a9a;
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
    margin: 0.15rem 0;
}

.zn-spoiler.is-open .zn-spoiler-reveal {
    display: none;
}

.zn-spoiler.is-open .zn-spoiler-body {
    display: inline !important;
    background: rgba(239, 83, 80, 0.06);
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
}

.zn-spoiler-body[hidden] {
    display: none !important;
}
