.event-page{
    max-width:1360px;
    margin:0 auto;
    padding:30px 24px 100px;
}

.event-topnav{
    display:flex;
    align-items:stretch;
    gap:16px;
    margin-bottom:22px;
    flex-wrap:wrap;
}

.event-back-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:0 18px;
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,243,234,.98));
    border:1px solid rgba(169,133,69,.16);
    box-shadow:var(--shadow-soft);
    color:#1f2937;
    text-decoration:none;
    font-weight:700;
    white-space:nowrap;
}

.event-nav-card{
    flex:1;
    min-width:260px;
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,243,234,.98));
    border:1px solid rgba(169,133,69,.16);
    border-radius:24px;
    padding:18px 20px;
    box-shadow:var(--shadow-soft);
    color:#1f2937;
    text-decoration:none;
}

.event-nav-card.right{
    text-align:right;
}

.event-nav-card.disabled{
    opacity:.45;
    pointer-events:none;
}

.event-nav-kicker{
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:8px;
}

.event-nav-title{
    font-size:16px;
    line-height:1.5;
    font-weight:700;
}

.event-shell{
    display:grid;
    grid-template-columns:minmax(0, 1.28fr) minmax(330px, .82fr);
    gap:26px;
    align-items:start;
}

.event-main-wrap{
    min-width:0;
}

.event-main{
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,245,236,.98));
    border:1px solid rgba(169,133,69,.16);
    border-radius:34px;
    box-shadow:var(--day-shadow);
    overflow:hidden;
    position:relative;
}

.event-main::before{
    content:'';
    position:absolute;
    left:34px;
    right:34px;
    top:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(169,133,69,.45), transparent);
}

.event-hero-media{
    position:relative;
    background:#ddd;
    min-height:380px;
}

.event-hero-media img,
.event-hero-media video{
    width:100%;
    display:block;
    object-fit:cover;
    max-height:700px;
}

.event-hero-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:28px 28px 24px;
    background:linear-gradient(to top, rgba(14,18,25,.84), rgba(14,18,25,.18), transparent);
    color:#fff;
}

.event-category-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(8px);
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    margin-bottom:12px;
}

.event-category-chip-inline{
    background:rgba(30,64,175,.08);
    color:#1f2937;
}

.event-title{
    margin:0;
    font-size:42px;
    line-height:1.08;
    letter-spacing:-.02em;
    color:#fff;
}

.event-title-dark{
    color:#1f2937;
    font-size:42px;
    margin:0 0 18px 0;
}

.event-body{
    padding:28px 30px 30px;
}

.event-facts-rail{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:12px;
    margin:0 0 24px 0;
}

.fact-card{
    background:rgba(255,255,255,.76);
    border:1px solid rgba(169,133,69,.14);
    border-radius:18px;
    padding:14px 14px 13px;
    box-shadow:0 10px 22px rgba(0,0,0,.04);
}

.fact-label{
    font-size:10px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:7px;
}

.fact-value{
    font-size:15px;
    line-height:1.45;
    color:#243042;
    font-weight:700;
}

.event-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:22px;
}

.event-action-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:0 16px;
    border-radius:999px;
    border:1px solid rgba(169,133,69,.16);
    background:#fff;
    color:#1f2937;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
    box-shadow:0 10px 22px rgba(0,0,0,.05);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.event-action-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 26px rgba(0,0,0,.08);
}

.event-action-btn.primary{
    background:#1E40AF;
    border-color:#1E40AF;
    color:#fff;
}

.event-description{
    font-size:18px;
    line-height:1.92;
    color:#334155;
}

.event-description p:first-child{
    margin-top:0;
}

.event-description .entity{
    border-bottom:1px dotted rgba(30,64,175,.45);
    cursor:help;
}

.context-panel{
    margin-top:26px;
    padding:18px 18px 16px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(247,242,231,.95), rgba(255,255,255,.92));
    border:1px solid rgba(169,133,69,.16);
    box-shadow:0 10px 24px rgba(0,0,0,.04);
}

.context-label{
    font-size:11px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:10px;
}

.context-text{
    color:#4b5563;
    line-height:1.8;
    font-size:15px;
}

.event-tags{
    margin-top:28px;
    padding-top:22px;
    border-top:1px solid rgba(169,133,69,.16);
}

.event-tags strong{
    display:block;
    margin-bottom:12px;
    font-size:11px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#8b7350;
}

.tag{
    display:inline-flex;
    align-items:center;
    padding:8px 12px;
    margin:0 8px 8px 0;
    border-radius:999px;
    background:rgba(255,255,255,.75);
    border:1px solid rgba(169,133,69,.15);
    color:#243042;
    text-decoration:none;
    font-size:13px;
}

.thread-rail-section{
    margin-top:28px;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,243,234,.96));
    border:1px solid rgba(169,133,69,.15);
    border-radius:28px;
    box-shadow:var(--shadow-soft);
    overflow:hidden;
    position:relative;
}

.thread-rail-section::before,
.thread-rail-section::after{
    content:'';
    position:absolute;
    top:57px;
    bottom:0;
    width:42px;
    z-index:2;
    pointer-events:none;
}

.thread-rail-section::before{
    left:0;
    background:linear-gradient(90deg, rgba(247,243,235,1), rgba(247,243,235,0));
}

.thread-rail-section::after{
    right:0;
    background:linear-gradient(270deg, rgba(247,243,235,1), rgba(247,243,235,0));
}

.section-head{
    padding:18px 22px 16px;
    border-bottom:1px solid rgba(169,133,69,.12);
    background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
}

.section-title{
    font-size:12px;
    letter-spacing:.2em;
    text-transform:uppercase;
    color:#8b7350;
}

.thread-rail-wrap{
    padding:20px 22px 24px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
    cursor:grab;
}

.thread-rail-wrap.dragging{
    cursor:grabbing;
    user-select:none;
}

.thread-rail{
    display:flex;
    gap:18px;
    min-width:max-content;
    align-items:stretch;
}

.thread-rail-card{
    position:relative;
    width:250px;
    flex:0 0 250px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(169,133,69,.12);
    border-radius:22px;
    overflow:hidden;
    text-decoration:none;
    color:#1f2937;
    box-shadow:0 10px 24px rgba(0,0,0,.04);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.thread-rail-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 32px rgba(0,0,0,.08);
}

.thread-rail-card::after{
    content:'';
    position:absolute;
    top:50%;
    right:-18px;
    width:18px;
    height:1px;
    background:rgba(169,133,69,.28);
}

.thread-rail-card:last-child::after{
    display:none;
}

.thread-rail-card.current{
    border:1px solid rgba(30,64,175,.28);
    box-shadow:0 14px 28px rgba(30,64,175,.08);
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(240,246,255,.96));
}

.thread-rail-card.current::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:22px;
    box-shadow:inset 0 0 0 1px rgba(30,64,175,.12);
    pointer-events:none;
}

.thread-rail-image{
    width:100%;
    height:140px;
    object-fit:cover;
    display:block;
}

.thread-rail-copy{
    padding:14px;
}

.thread-rail-type{
    display:block;
    font-size:10px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:7px;
}

.thread-rail-date{
    display:block;
    font-size:12px;
    color:#7a828d;
    margin-bottom:7px;
}

.thread-rail-title{
    display:block;
    font-size:15px;
    line-height:1.55;
    font-weight:700;
    color:#243042;
}

.thread-rail-note{
    display:block;
    margin-top:8px;
    font-size:13px;
    line-height:1.6;
    color:#5f6975;
}

.event-side{
    display:flex;
    flex-direction:column;
    gap:18px;
    position:relative;
}

.event-side-sticky{
    position:sticky;
    top:100px;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.side-card{
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,243,234,.96));
    border:1px solid rgba(169,133,69,.15);
    border-radius:26px;
    box-shadow:var(--shadow-soft);
    overflow:hidden;
}

.side-card-head{
    padding:16px 18px 14px;
    border-bottom:1px solid rgba(169,133,69,.12);
    background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
}

.side-card-title{
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
}

.side-card-body{
    padding:18px;
}

.floating-thread-card{
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,243,234,.98));
    border:1px solid rgba(169,133,69,.16);
    border-radius:24px;
    box-shadow:0 20px 42px rgba(0,0,0,.10);
    overflow:hidden;
}

.floating-thread-head{
    padding:15px 18px 12px;
    border-bottom:1px solid rgba(169,133,69,.12);
    background:linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0));
}

.floating-thread-title{
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
}

.floating-thread-body{
    padding:14px;
    display:grid;
    gap:10px;
}

.floating-thread-link{
    display:block;
    padding:12px 12px 11px;
    border-radius:16px;
    background:rgba(255,255,255,.74);
    border:1px solid rgba(169,133,69,.12);
    color:#1f2937;
    text-decoration:none;
}

.floating-thread-kicker{
    display:block;
    font-size:10px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:5px;
}

.floating-thread-name{
    display:block;
    font-size:14px;
    line-height:1.55;
    font-weight:700;
    color:#243042;
}

.floating-thread-card .event-action-btn{
    width:100%;
    justify-content:center;
}

.archive-plaque{
    display:grid;
    gap:12px;
}

.archive-row{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:12px;
    align-items:start;
}

.archive-key{
    font-size:11px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:#8b7350;
    padding-top:2px;
}

.archive-value{
    color:#243042;
    line-height:1.65;
    font-size:14px;
}

.archive-value.muted{
    color:#6b7280;
}

.connection-thread{
    position:relative;
    display:grid;
    gap:14px;
    padding-left:18px;
}

.connection-thread::before{
    content:'';
    position:absolute;
    left:4px;
    top:4px;
    bottom:4px;
    width:1px;
    background:linear-gradient(180deg, rgba(169,133,69,.35), rgba(169,133,69,.08));
}

.connection-item{
    position:relative;
    display:grid;
    grid-template-columns:92px 1fr;
    gap:14px;
    padding:12px;
    border-radius:18px;
    background:rgba(255,255,255,.74);
    border:1px solid rgba(169,133,69,.12);
    text-decoration:none;
    color:#1f2937;
    transition:transform .2s ease, box-shadow .2s ease;
}

.connection-item:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(0,0,0,.07);
}

.connection-item::before{
    content:'';
    position:absolute;
    left:-18px;
    top:26px;
    width:18px;
    height:1px;
    background:rgba(169,133,69,.35);
}

.connection-item::after{
    content:'';
    position:absolute;
    left:-2px;
    top:22px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#b28d52;
    box-shadow:0 0 0 4px rgba(178,141,82,.12);
}

.connection-thumb{
    width:92px;
    height:82px;
    object-fit:cover;
    border-radius:14px;
    display:block;
}

.connection-copy{
    min-width:0;
}

.connection-type{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:6px 10px;
    border-radius:999px;
    font-size:10px;
    letter-spacing:.16em;
    text-transform:uppercase;
    margin-bottom:8px;
    border:1px solid rgba(169,133,69,.12);
}

.connection-title{
    display:block;
    font-size:15px;
    line-height:1.5;
    font-weight:700;
    color:#243042;
}

.connection-meta{
    display:block;
    margin-top:5px;
    font-size:12px;
    color:#7a828d;
    line-height:1.45;
}

.connection-note{
    display:block;
    margin-top:8px;
    font-size:13px;
    line-height:1.65;
    color:#586270;
    padding:10px 12px;
    border-radius:14px;
    background:rgba(246,242,233,.72);
    border:1px solid rgba(169,133,69,.10);
}

.empty-threads{
    padding:14px 16px;
    border-radius:16px;
    background:rgba(255,255,255,.7);
    border:1px solid rgba(169,133,69,.12);
    color:#6b7280;
    line-height:1.7;
    font-size:14px;
}

.tone-default{
    background:rgba(255,255,255,.86);
    color:#8b7350;
}
.tone-cause{
    background:rgba(127,29,29,.08);
    color:#991b1b;
}
.tone-context{
    background:rgba(59,130,246,.08);
    color:#1d4ed8;
}
.tone-response{
    background:rgba(16,185,129,.10);
    color:#047857;
}
.tone-follow{
    background:rgba(124,58,237,.10);
    color:#6d28d9;
}
.tone-story{
    background:rgba(180,83,9,.10);
    color:#b45309;
}
.tone-investigation{
    background:rgba(17,24,39,.08);
    color:#111827;
}
.tone-actor{
    background:rgba(190,24,93,.10);
    color:#be185d;
}
.tone-place{
    background:rgba(8,145,178,.10);
    color:#0e7490;
}
.tone-escalation{
    background:rgba(220,38,38,.10);
    color:#b91c1c;
}

.evidence-grid{
    display:grid;
    gap:14px;
}

.evidence-media{
    border-radius:18px;
    overflow:hidden;
    background:#111;
}

.evidence-media img,
.evidence-media video{
    width:100%;
    display:block;
    object-fit:cover;
}

.evidence-stack{
    display:grid;
    gap:12px;
}

.event-download a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 14px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(169,133,69,.16);
    text-decoration:none;
    color:#1f2937;
    font-weight:700;
}

.bookmark-btn{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    border:1px solid rgba(169,133,69,.16);
    box-shadow:0 10px 22px rgba(0,0,0,.05);
    cursor:pointer;
    font-size:20px;
    transition:transform .18s ease, box-shadow .18s ease;
}

.bookmark-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 26px rgba(0,0,0,.08);
}

.bookmark-btn.bookmarked{
    color:#b42318;
}

.related-section,
.comments-section{
    margin-top:28px;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,243,234,.96));
    border:1px solid rgba(169,133,69,.15);
    border-radius:28px;
    box-shadow:var(--shadow-soft);
    overflow:hidden;
}

.related-body{
    padding:20px 22px 24px;
}

.related-thumbs{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
}

.related-event{
    position:relative;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(169,133,69,.12);
    border-radius:20px;
    overflow:hidden;
}

.related-event a{
    display:block;
    color:#1f2937;
    text-decoration:none;
}

.related-event img{
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    display:block;
}

.related-event-copy{
    padding:12px;
}

.related-event-date{
    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#8b7350;
    margin-bottom:6px;
}

.related-event-title{
    font-size:14px;
    line-height:1.55;
    font-weight:700;
    color:#243042;
}

.related-event .bookmark-btn{
    position:absolute;
    top:10px;
    right:10px;
    width:38px;
    height:38px;
    font-size:18px;
}

.comments-body{
    padding:22px;
    background:
        radial-gradient(circle at top right, rgba(169,133,69,.06), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.65), rgba(248,243,234,.92));
}

.comments-panel{
    max-width:920px;
}

.comments-intro{
    font-size:14px;
    line-height:1.7;
    color:#6b7280;
    margin-bottom:14px;
}

.comments-body textarea{
    width:100%;
    min-height:120px;
    border-radius:18px;
    border:1px solid rgba(169,133,69,.16);
    padding:16px;
    font:inherit;
    resize:vertical;
    background:#fff;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}

.comments-body button{
    margin-top:12px;
    min-height:44px;
    padding:0 18px;
    border-radius:999px;
    border:none;
    background:#1E40AF;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.login-warning{
    color:#6b7280;
    line-height:1.7;
}

.entity-tooltip{
    position:fixed;
    max-width:280px;
    background:#111827;
    color:#fff;
    padding:10px 12px;
    border-radius:12px;
    font-size:13px;
    line-height:1.55;
    z-index:1000;
    display:none;
    box-shadow:0 18px 34px rgba(0,0,0,.25);
}

.mobile-investigate{
    display:none;
}

@media (max-width:1180px){
    .event-shell{
        grid-template-columns:1fr;
    }

    .event-side-sticky{
        position:static;
    }
}

@media (max-width:1100px){
    .event-facts-rail{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .related-thumbs{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:768px){
    .event-page{
        padding:18px 14px 90px;
    }

    .event-topnav{
        margin-bottom:16px;
    }

    .event-back-btn{
        width:100%;
        min-height:48px;
        border-radius:16px;
    }

    .event-nav-card{
        min-width:0;
        padding:14px 16px;
        border-radius:18px;
    }

    .event-main{
        border-radius:26px;
    }

    .event-hero-media{
        min-height:220px;
    }

    .event-hero-overlay{
        padding:18px 18px 16px;
    }

    .event-title{
        font-size:28px;
    }

    .event-title-dark{
        font-size:28px;
    }

    .event-body{
        padding:20px 18px 22px;
    }

    .event-facts-rail{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .fact-card{
        padding:12px;
        border-radius:16px;
    }

    .event-description{
        font-size:17px;
        line-height:1.82;
    }

    .archive-row{
        grid-template-columns:1fr;
        gap:4px;
    }

    .connection-item{
        grid-template-columns:76px 1fr;
        gap:12px;
    }

    .connection-thumb{
        width:76px;
        height:70px;
    }

    .thread-rail-wrap,
    .related-body,
    .comments-body{
        padding:16px;
    }

    .thread-rail-card{
        width:220px;
        flex-basis:220px;
    }

    .related-thumbs{
        grid-template-columns:1fr;
    }

    .mobile-investigate{
        display:flex;
        position:fixed;
        left:14px;
        right:14px;
        bottom:14px;
        z-index:80;
        justify-content:center;
    }

    .mobile-investigate .event-action-btn{
        width:100%;
        min-height:50px;
        font-size:15px;
        box-shadow:0 18px 38px rgba(0,0,0,.22);
    }

    .floating-thread-card{
        display:none;
    }
}

/* =========================================
   EVENT COMMENTS – PREMIUM ARCHIVE STYLING
   Append to bottom of /assets/event.css
========================================= */

#comments_list{
    margin-top:18px;
    display:grid;
    gap:14px;
}

.comment{
    position:relative;
}

.comment.is-reply{
    margin-top:12px;
}

.comment-card{
    background:rgba(255,255,255,.78);
    border:1px solid rgba(169,133,69,.14);
    border-radius:20px;
    box-shadow:0 10px 24px rgba(0,0,0,.04);
    overflow:hidden;
}

.comment-body{
    padding:16px 16px 14px;
}

.comment-text{
    font-size:15px;
    line-height:1.78;
    color:#334155;
    word-break:break-word;
}

.comment-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-top:12px;
    font-size:12px;
    color:#7a828d;
}

.comment-author{
    font-weight:700;
    color:#243042;
}

.comment-dot{
    opacity:.6;
}

.comment-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid rgba(169,133,69,.12);
}

.comment-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    border:1px solid rgba(169,133,69,.14);
    background:#fff;
    color:#243042;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow:0 6px 16px rgba(0,0,0,.04);
}

.comment-action:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(0,0,0,.06);
}

.vote-btn{
    min-width:38px;
    padding:0 10px;
}

.vote-weight{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    min-height:34px;
    padding:0 10px;
    border-radius:999px;
    background:rgba(247,242,231,.95);
    border:1px solid rgba(169,133,69,.14);
    color:#8b7350;
    font-size:13px;
    font-weight:700;
}

.delete-btn{
    color:#991b1b;
    background:rgba(127,29,29,.04);
    border-color:rgba(153,27,27,.12);
}

.reply-toggle{
    color:#1d4ed8;
    background:rgba(59,130,246,.05);
    border-color:rgba(59,130,246,.12);
}

.collapse-toggle{
    color:#6b7280;
}

.reply-form{
    margin-top:14px;
    padding:14px;
    border-radius:16px;
    background:linear-gradient(180deg, rgba(247,242,231,.92), rgba(255,255,255,.9));
    border:1px solid rgba(169,133,69,.12);
}

.reply-form textarea{
    width:100%;
    min-height:96px;
    border-radius:14px;
    border:1px solid rgba(169,133,69,.16);
    padding:14px;
    font:inherit;
    resize:vertical;
    background:#fff;
    color:#243042;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.03);
}

.reply-submit{
    margin-top:12px;
    min-height:40px;
    padding:0 16px;
    border:none;
    border-radius:999px;
    background:#1E40AF;
    color:#fff;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(30,64,175,.16);
}

.replies{
    margin-top:14px;
    padding-top:2px;
    padding-left:18px;
    display:grid;
    gap:12px;
    position:relative;
}

.replies::before{
    content:'';
    position:absolute;
    left:6px;
    top:4px;
    bottom:8px;
    width:1px;
    background:linear-gradient(180deg, rgba(169,133,69,.35), rgba(169,133,69,.08));
}

.comment.is-reply{
    position:relative;
    margin-left:0;
}

.comment.is-reply::before{
    content:'';
    position:absolute;
    left:-12px;
    top:24px;
    width:12px;
    height:1px;
    background:rgba(169,133,69,.35);
}

.comment.is-reply .comment-card{
    background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(250,247,240,.96));
    border-radius:18px;
}

.comment.is-reply .comment-body{
    padding:14px 14px 12px;
}

.comment.is-reply .comment-text{
    font-size:14px;
    line-height:1.72;
}

.comment.is-reply .comment-actions{
    margin-top:10px;
    padding-top:10px;
}

@media (max-width:768px){
    #comments_list{
        gap:12px;
    }

    .comment-body{
        padding:14px 14px 12px;
    }

    .comment-text{
        font-size:14px;
        line-height:1.72;
    }

    .comment-actions{
        gap:6px;
    }

    .comment-action,
    .vote-weight{
        min-height:32px;
        font-size:12px;
        padding:0 10px;
    }

    .reply-form{
        padding:12px;
    }

    .reply-form textarea{
        min-height:88px;
        padding:12px;
    }

    .replies{
        padding-left:14px;
    }

    .comment.is-reply::before{
        left:-10px;
        width:10px;
    }
}