/* SPACE Experience · Comments v1 */
.seh-comments{
    position:fixed;
    z-index:var(--seh-modal-z,8200);
    inset:0;
    display:grid;
    align-items:end;
    padding:0;
    background:rgba(0,0,0,.76);
    backdrop-filter:none;
    
    opacity:0;
    pointer-events:none;
    transition:opacity .28s ease;
}
.seh-comments[hidden]{display:none!important}
.seh-comments.is-open{opacity:1;pointer-events:auto}
.seh-comments-shell{
    position:relative;
    width:min(760px,100%);
    height:min(88dvh,820px);
    max-height:min(88dvh,820px);
    margin:0 auto;
    display:grid;
    grid-template-rows:64px minmax(0,1fr) auto;
    overflow:hidden;
    border:0;
    border-radius:28px 28px 0 0;
    background:#0b0c0b;
    box-shadow:0 -28px 90px rgba(0,0,0,.48);
    color:#fff;
    transform:translateY(34px) scale(.988);
    transition:transform .46s var(--xpl-ease,cubic-bezier(.2,.8,.2,1));
}
.seh-comments.is-open .seh-comments-shell{transform:none}
.seh-comments-bar{
    height:64px;
    padding:0 17px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid rgba(255,255,255,.045);
    background:#0b0c0b;
    backdrop-filter:none;
    
}
.seh-comments-back{
    appearance:none;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0;
    border:0;
    background:transparent;
    color:#c7cbc5;
    font:800 .62rem/1 'Plus Jakarta Sans',sans-serif;
    cursor:pointer;
}
.seh-comments-back svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.seh-comments-title{color:#b8ff52;font:800 .52rem/1 'Space Grotesk',sans-serif;letter-spacing:.12em;text-transform:uppercase}
.seh-comments-scroll{
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:22px 20px 26px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.seh-comments-scroll::-webkit-scrollbar{display:none}
.seh-comments-context{display:grid;gap:5px;padding:0 0 18px;border-bottom:1px solid rgba(255,255,255,.055)}
.seh-comments-context small{color:#6f756d;font:850 .45rem/1 'Plus Jakarta Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase}
.seh-comments-context strong{font:600 clamp(1.7rem,5vw,2.65rem)/.95 'Space Grotesk',sans-serif;letter-spacing:-.05em}
.seh-comments-list{display:grid;gap:0}
.seh-comment{
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:11px;
    padding:17px 0;
    border-bottom:1px solid rgba(255,255,255,.05);
}
.seh-comment-avatar{
    width:42px;height:42px;border-radius:50%;overflow:hidden;
    display:grid;place-items:center;text-decoration:none;
    border:1px solid rgba(255,255,255,.08);
    background:#161816;color:#cfff92;
    font:850 .72rem/1 'Plus Jakarta Sans',sans-serif;
}
.seh-comment-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.seh-comment-main{min-width:0}
.seh-comment-author{display:flex;align-items:baseline;gap:7px;min-width:0}
.seh-comment-author a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f1f3ef;text-decoration:none;font-size:.64rem;font-weight:850}
.seh-comment-author span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#697068;font-size:.49rem;font-weight:700}
.seh-comment-body{margin:6px 0 0;color:#c5c9c2;font-size:.63rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.seh-comment-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px}
.seh-comment-meta time{color:#626861;font-size:.46rem;font-weight:700}
.seh-comment-meta em{color:#626861;font-size:.44rem;font-style:normal}
.seh-comment-actions{display:flex;gap:8px;margin-left:auto}
.seh-comment-actions button{
    padding:0;border:0;background:transparent;color:#777e75;
    font:800 .45rem/1 'Plus Jakarta Sans',sans-serif;cursor:pointer;
}
.seh-comment-actions button.is-delete{color:#a87878}
.seh-comments-empty,.seh-comments-loading,.seh-comments-error{
    min-height:260px;display:grid;place-items:center;text-align:center;padding:30px 12px;
}
.seh-comments-empty>div,.seh-comments-error>div{display:grid;justify-items:center;gap:8px;max-width:330px}
.seh-comments-empty strong,.seh-comments-error strong{font:600 1.65rem/.96 'Space Grotesk',sans-serif;letter-spacing:-.045em}
.seh-comments-empty span,.seh-comments-error span{color:#747a72;font-size:.58rem;line-height:1.55}
.seh-comments-loading i{width:34px;height:34px;border:1px solid rgba(255,255,255,.1);border-top-color:#b8ff52;border-radius:50%;animation:sehCommentSpin .8s linear infinite}
.seh-comments-composer{
    position:relative;
    padding:10px 14px max(12px,env(safe-area-inset-bottom));
    border-top:1px solid rgba(255,255,255,.055);
    background:#0b0c0b;
    backdrop-filter:none;
    
}
.seh-comments-form{display:grid;gap:7px}
.seh-comments-compose-row{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) 42px;
    align-items:end;
    gap:8px;
}
.seh-comments-me-avatar{
    width:38px;
    height:38px;
    margin-bottom:2px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:50%;
    background:#171a17;
    color:#dfffad;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
    font:850 .58rem/1 'Plus Jakarta Sans',sans-serif;
}
.seh-comments-me-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.seh-comments-input-shell{
    position:relative;
    min-width:0;
    display:flex;
    align-items:flex-end;
    border:1px solid rgba(255,255,255,.115);
    border-radius:999px;
    background:#17191b;
    transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.seh-comments-input-shell:focus-within{
    border-color:rgba(184,255,82,.2);
    background:#191c1a;
    box-shadow:0 0 0 3px rgba(184,255,82,.028);
}
.seh-comments-input{
    min-height:42px;
    max-height:118px;
    width:100%;
    resize:none;
    padding:11px 16px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:#f3f5f1;
    outline:none;
    overflow-y:auto;
    font:600 .61rem/1.45 'Plus Jakarta Sans',sans-serif;
    scrollbar-width:none;
}
.seh-comments-input::-webkit-scrollbar{display:none}
.seh-comments-input::placeholder{color:#777c78}
.seh-comments-input:focus{border:0;box-shadow:none}
.seh-comments-submit{
    width:42px;
    height:42px;
    min-width:42px;
    padding:0;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:#b8ff52;
    color:#11140e;
    box-shadow:0 7px 20px rgba(0,0,0,.22);
    cursor:pointer;
    transition:transform .16s ease,opacity .16s ease,background .16s ease;
}
.seh-comments-submit:active{transform:scale(.94)}
.seh-comments-submit svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.seh-comments-submit.is-editing svg{transform:rotate(0deg)}
.seh-comments-submit.is-busy svg{opacity:.35}
.seh-comments-submit:disabled{opacity:.45;cursor:default}

.seh-comments-mentions{
    position:absolute;
    z-index:6;
    left:0;
    right:0;
    bottom:calc(100% + 8px);
    max-height:248px;
    overflow-y:auto;
    padding:5px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:17px;
    background:#111311;
    box-shadow:0 18px 46px rgba(0,0,0,.38);
    backdrop-filter:none;
    
    scrollbar-width:none;
}
.seh-comments-mentions[hidden]{display:none!important}
.seh-comments-mentions::-webkit-scrollbar{display:none}
.seh-comment-mention-suggestion{
    width:100%;
    min-height:52px;
    padding:6px 8px;
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    align-items:center;
    gap:9px;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#f1f4ef;
    text-align:left;
    cursor:pointer;
}
.seh-comment-mention-suggestion:hover,
.seh-comment-mention-suggestion:focus-visible{background:rgba(255,255,255,.05);outline:0}
.seh-comment-mention-avatar{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:50%;
    background:#1b1e1a;
    color:#dfffad;
    font:850 .5rem/1 'Plus Jakarta Sans',sans-serif;
}
.seh-comment-mention-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.seh-comment-mention-copy{min-width:0;display:grid;gap:3px}
.seh-comment-mention-copy strong,
.seh-comment-mention-copy small{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.seh-comment-mention-copy strong{font-size:.55rem}
.seh-comment-mention-copy small{color:#747b72;font-size:.46rem}
.seh-comment-mention{
    color:#b8ff52;
    font-weight:780;
    text-decoration:none;
}
.seh-comment-mention:hover{text-decoration:underline}
.seh-comments-auth{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.seh-comments-auth span{color:#777d75;font-size:.55rem;line-height:1.45}
.seh-comments-auth a{flex:0 0 auto;min-height:38px;padding:0 12px;display:inline-flex;align-items:center;border-radius:12px;background:rgba(184,255,82,.08);color:#dfffad;text-decoration:none;font-size:.5rem;font-weight:850}
.seh-comments-editing{display:none;align-items:center;justify-content:space-between;gap:8px;margin:0 2px 7px;color:#8d948b;font-size:.48rem}
.seh-comments-form.is-editing .seh-comments-editing{display:flex}
.seh-comments-editing button{border:0;background:transparent;color:#b8ff52;font:800 .46rem/1 'Plus Jakarta Sans',sans-serif;cursor:pointer}
.seh-comments-back:focus-visible,.seh-comment a:focus-visible,.seh-comment-actions button:focus-visible,.seh-comments-submit:focus-visible,.seh-comments-auth a:focus-visible{outline:2px solid rgba(184,255,82,.72);outline-offset:3px}
body.seh-comments-open .seh-dish-sheet-layer{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@keyframes sehCommentSpin{to{transform:rotate(360deg)}}
@media(max-width:700px){
    .seh-comments-shell{width:100%;height:94dvh;max-height:94dvh;border-radius:26px 26px 0 0;grid-template-rows:60px minmax(0,1fr) auto}
    .seh-comments-bar{height:60px;padding:0 15px}
    .seh-comments-scroll{padding:20px 17px 24px}
    .seh-comments-composer{padding-left:12px;padding-right:12px}
    .seh-comments-compose-row{grid-template-columns:36px minmax(0,1fr) 40px;gap:7px}
    .seh-comments-me-avatar{width:36px;height:36px}
    .seh-comments-submit{width:40px;height:40px;min-width:40px}
}
@media(prefers-reduced-motion:reduce){.seh-comments,.seh-comments-shell,.seh-comments-loading i{transition:none!important;animation:none!important}}
