#comments.vsh-comments-area {
    --vsh-ink: #0f172a;
    --vsh-text: #334155;
    --vsh-muted: #64748b;
    --vsh-line: #e2e8f0;
    --vsh-soft: #f8fafc;
    --vsh-primary: #4f46e5;
    --vsh-primary-soft: #eef2ff;
    --vsh-danger: #b91c1c;
    max-width: 880px;
    margin: 64px auto;
    color: var(--vsh-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#comments.vsh-comments-area,
#comments.vsh-comments-area * { box-sizing: border-box; }

#comments.vsh-comments-area ul,
#comments.vsh-comments-area li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vsh-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--vsh-line);
}

.vsh-eyebrow {
    margin-bottom: 5px;
    color: var(--vsh-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vsh-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--vsh-ink);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

.vsh-title-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #4338ca, #7c3aed);
    font-size: 13px;
    box-shadow: 0 7px 18px rgba(79, 70, 229, .22);
}

.vsh-filter-pill {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--vsh-line);
    border-radius: 11px;
    background: var(--vsh-soft);
}

.vsh-filter-btn {
    padding: 8px 13px;
    border-radius: 8px;
    color: var(--vsh-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .18s ease;
}

.vsh-filter-btn:hover { color: var(--vsh-ink); }
.vsh-filter-btn.active {
    color: var(--vsh-primary);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 12px rgba(15, 23, 42, .04);
}

.vsh-form-card {
    margin-bottom: 42px;
    padding: 22px;
    border: 1px solid var(--vsh-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .045);
    scroll-margin-top: 90px;
}

.vsh-form-card:focus-within {
    border-color: #c7d2fe;
    box-shadow: 0 16px 42px rgba(79, 70, 229, .075);
}

.vsh-form-wrapper { display: flex; gap: 14px; align-items: flex-start; }
.vsh-form-avatar-wrap { flex: 0 0 44px; }
.vsh-form-main-container { min-width: 0; flex: 1; }

.vsh-form-avatar,
.vsh-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.vsh-avatar { width: 42px; height: 42px; }

.vsh-initial-avatar {
    color: #4338ca;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border-color: #ddd6fe;
    font-weight: 800;
    letter-spacing: -.02em;
}

.vsh-reply-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 13px;
}
.vsh-reply-context[hidden] { display: none; }
.vsh-cancel-reply {
    border: 0;
    padding: 0;
    color: #5b21b6;
    background: transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.vsh-form-main {
    border: 1px solid var(--vsh-line);
    border-radius: 13px;
    background: var(--vsh-soft);
    transition: .18s ease;
}
.vsh-form-main:focus-within {
    border-color: #818cf8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .10);
}
.vsh-form-main textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    max-height: 320px;
    resize: none;
    overflow-y: auto;
    padding: 14px 15px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: var(--vsh-ink);
    background: transparent !important;
    font: inherit;
    font-size: 15px;
    line-height: 1.65;
}
.vsh-form-main textarea::placeholder { color: #94a3b8; }

.vsh-guest-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.vsh-guest-inputs label,
.vsh-gif-url-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--vsh-muted);
    font-size: 12px;
    font-weight: 700;
}
.vsh-guest-inputs input,
.vsh-gif-url-box input {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid var(--vsh-line);
    border-radius: 10px;
    outline: none;
    color: var(--vsh-ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
}
.vsh-guest-inputs input:focus,
.vsh-gif-url-box input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .08);
}
.vsh-privacy-note {
    margin: 8px 0 0;
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.5;
}

.vsh-tool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}
.vsh-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--vsh-line);
    border-radius: 9px;
    color: var(--vsh-text);
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.vsh-tool-btn:hover { border-color: #c7d2fe; background: #fafaff; }
.vsh-gif-badge {
    display: inline-grid;
    place-items: center;
    height: 20px;
    padding: 0 5px;
    border-radius: 5px;
    color: #fff;
    background: #7c3aed;
    font-size: 9px;
    letter-spacing: .04em;
}
.vsh-md-hint { color: #94a3b8; font-size: 11.5px; }
.vsh-md-hint code {
    padding: 1px 4px;
    border-radius: 4px;
    color: #4338ca;
    background: #eef2ff;
}

.vsh-gif-panel {
    margin-top: 12px;
    padding: 13px;
    border: 1px solid var(--vsh-line);
    border-radius: 13px;
    background: #fbfdff;
}
.vsh-gif-panel[hidden] { display: none; }
.vsh-gif-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; }
.vsh-gif-upload-box {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    color: var(--vsh-text);
    background: #fff;
    cursor: pointer;
}
.vsh-gif-upload-box:hover { border-color: #818cf8; background: #fafaff; }
.vsh-gif-upload-box input { margin-top: 6px; max-width: 100%; font-size: 11px; }
.vsh-gif-upload-title { color: var(--vsh-ink); font-size: 12px; font-weight: 800; }
.vsh-gif-upload-subtitle { color: #94a3b8; font-size: 10.5px; font-weight: 500; }

.vsh-gif-preview-wrap {
    position: relative;
    display: inline-block;
    margin-top: 12px;
    max-width: 100%;
}
.vsh-gif-preview-wrap[hidden] { display: none; }
.vsh-gif-preview {
    display: block;
    max-width: min(100%, 360px);
    max-height: 260px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid var(--vsh-line);
    background: #fff;
}
.vsh-gif-clear {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 9px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: rgba(15, 23, 42, .82);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.vsh-form-error {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    color: #991b1b;
    background: #fef2f2;
    font-size: 12px;
    font-weight: 700;
}
.vsh-form-error[hidden] { display: none; }

.vsh-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}
.vsh-submit-note { color: #94a3b8; font-size: 11.5px; }
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 16px;
    border: 0 !important;
    border-radius: 11px;
    color: #fff !important;
    background: linear-gradient(135deg, #4338ca, #6366f1) !important;
    box-shadow: 0 8px 18px rgba(79, 70, 229, .18);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.submit-btn:hover { filter: brightness(1.03); transform: translateY(-1px); }
.submit-btn.loading { opacity: .72; pointer-events: none; }

.vsh-comment-list > li { margin-bottom: 24px !important; }
.vsh-comment-list .children {
    margin: 16px 0 0 54px !important;
    padding-left: 18px !important;
    border-left: 2px solid #eef2f7;
}
.vsh-comment-list .children > li { margin-bottom: 18px !important; }

.vsh-comment-item { display: flex; gap: 12px; align-items: flex-start; }
.vsh-avatar-col { flex: 0 0 42px; }
.vsh-content-col { min-width: 0; flex: 1; }
.vsh-bubble-container { position: relative; display: inline-block; max-width: min(100%, 720px); }
.vsh-bubble {
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid #edf0f4;
    border-radius: 15px;
    color: var(--vsh-text);
    background: #f8fafc;
}
.vsh-author-bubble {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #f8fbff, #f5f9ff);
}
.vsh-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 5px;
}
.vsh-name {
    color: var(--vsh-ink) !important;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none !important;
}
a.vsh-name:hover { color: var(--vsh-primary) !important; }
.vsh-guest-name { cursor: default; }
.vsh-guest-label,
.vsh-author-badge {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .02em;
}
.vsh-guest-label { color: #475569; background: #e2e8f0; }
.vsh-author-badge { color: #1d4ed8; background: #dbeafe; }
.vsh-pending-note {
    margin: 7px 0;
    padding: 7px 9px;
    border: 1px dashed #fbbf24;
    border-radius: 8px;
    color: #92400e;
    background: #fffbeb;
    font-size: 11.5px;
}
.vsh-text {
    color: var(--vsh-text);
    font-size: 14.5px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.vsh-text p { margin: 0 0 8px; }
.vsh-text p:last-child { margin-bottom: 0; }
.vsh-text code {
    padding: 2px 5px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: #4338ca;
    background: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .92em;
}
.vsh-comment-gif-link { display: block; margin-top: 10px; width: fit-content; max-width: 100%; }
.vsh-comment-gif {
    display: block;
    max-width: min(100%, 420px);
    max-height: 360px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.vsh-react-count-pill {
    position: absolute;
    right: -12px;
    bottom: -11px;
    display: none;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 2px 7px 2px 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}
.vsh-react-count-pill.show { display: inline-flex; }
.vsh-react-icons-wrap { display: flex; align-items: center; }
.vsh-r-tiny { margin-right: -2px; font-size: 13px; line-height: 1; }
.vsh-r-num { color: #64748b; font-size: 11px; font-weight: 700; }

.vsh-action-row {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 30px;
    padding: 7px 4px 0;
}
.vsh-action-btn {
    padding: 0 !important;
    border: 0 !important;
    color: var(--vsh-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.vsh-action-btn:hover { color: var(--vsh-primary) !important; }
.vsh-time { color: #94a3b8; font-size: 11.5px; font-weight: 500; }

.vsh-react-wrapper { position: relative; }
.vsh-reactions-box {
    position: absolute;
    z-index: 50;
    left: -10px;
    bottom: calc(100% + 8px);
    display: flex;
    gap: 3px;
    padding: 7px;
    border: 1px solid var(--vsh-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px) scale(.97);
    transform-origin: left bottom;
    transition: .15s ease;
}
.vsh-react-wrapper:hover .vsh-reactions-box,
.vsh-react-wrapper.is-open .vsh-reactions-box,
.vsh-reactions-box:focus-within {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.vsh-r-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    transition: .14s ease;
}
.vsh-r-icon:hover,
.vsh-r-icon:focus { background: #f8fafc; transform: translateY(-3px) scale(1.12); outline: none; }

.vsh-floating-react {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    font-size: 25px;
    animation: vshFloatUp .8s ease-out forwards;
}
@keyframes vshFloatUp {
    from { opacity: 1; transform: translateY(0) scale(.75); }
    to { opacity: 0; transform: translateY(-72px) scale(1.12); }
}
.vsh-pop { animation: vshPop .28s ease; }
@keyframes vshPop { 50% { transform: scale(1.12); } }

.vsh-empty-state,
.vsh-closed-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 26px;
    border: 1px dashed #cbd5e1;
    border-radius: 15px;
    color: var(--vsh-muted);
    background: #fbfdff;
    text-align: center;
    font-size: 13px;
}
.vsh-empty-state strong,
.vsh-closed-card strong { color: var(--vsh-ink); font-size: 14px; }
.vsh-empty-icon,
.vsh-closed-icon { margin-bottom: 5px; color: #818cf8; font-size: 25px; }

.vsh-comment-pagination {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--vsh-line);
}
.vsh-comment-pagination a { color: var(--vsh-primary); font-size: 13px; font-weight: 800; text-decoration: none; }

@media (max-width: 720px) {
    #comments.vsh-comments-area { margin: 40px auto; }
    .vsh-header { align-items: stretch; flex-direction: column; }
    .vsh-filter-pill { width: fit-content; }
    .vsh-form-card { padding: 15px; border-radius: 15px; }
    .vsh-form-wrapper { gap: 10px; }
    .vsh-form-avatar-wrap { display: none; }
    .vsh-guest-inputs { grid-template-columns: 1fr; }
    .vsh-tool-row,
    .vsh-form-actions { align-items: stretch; flex-direction: column; }
    .vsh-md-hint { line-height: 1.5; }
    .submit-btn { width: 100%; }
    .vsh-gif-grid { grid-template-columns: 1fr; }
    .vsh-comment-list .children { margin-left: 18px !important; padding-left: 12px !important; }
    .vsh-avatar-col { flex-basis: 36px; }
    .vsh-avatar { width: 36px; height: 36px; font-size: 11px; }
    .vsh-comment-item { gap: 9px; }
    .vsh-bubble { min-width: 0; padding: 11px 12px; }
    .vsh-action-row { gap: 11px; }
    .vsh-reactions-box { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 10px) scale(.97); }
    .vsh-react-wrapper:hover .vsh-reactions-box { opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); }
    .vsh-react-wrapper.is-open .vsh-reactions-box,
    .vsh-reactions-box:focus-within { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    #comments.vsh-comments-area *,
    #comments.vsh-comments-area *::before,
    #comments.vsh-comments-area *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
