/* Scoped to the existing SexTok comment modal. Feed controls keep their own layout. */
#stComForm .st-com-textarea{display:flex;align-items:center;gap:8px;min-width:0}
#stComForm #stComText{flex:1 1 auto;min-width:0}
#stComForm .acci-st-photo,#stComForm .acci-st-submit{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:10px;margin:0;border-radius:50%;cursor:pointer;line-height:1}
#stComForm .acci-st-photo{border:1px solid var(--pink,#ff4da6);background:transparent;color:var(--text,#222)}
#stComForm .acci-st-submit{border:1px solid var(--pink,#ff4da6);background:var(--pink,#ff4da6);color:#fff}
#stComForm .acci-st-photo svg,#stComForm .acci-st-submit svg{display:block;flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#stComForm .acci-st-photo:disabled,#stComForm .acci-st-submit:disabled,#stComForm .acci-st-remove:disabled{opacity:.5;cursor:wait}
#stComForm .acci-st-photo:focus-visible,#stComForm .acci-st-submit:focus-visible,#stComList .acci-st-heart:focus-visible{outline:2px solid #ff4da6;outline-offset:3px}
#stComForm .acci-st-file[hidden],#stComForm .acci-st-preview[hidden]{display:none!important}
#stComForm .acci-st-preview{display:flex;align-items:center;gap:12px;padding-top:10px}
#stComForm .acci-st-preview img{display:block;object-fit:contain;width:auto;height:auto;max-width:110px;max-height:80px;border-radius:8px}
#stComForm .acci-st-preview>div{display:flex;flex-direction:column;gap:6px;min-width:0}
#stComForm .acci-st-preview small{font-size:11px;line-height:1.4;color:var(--muted,#666)}
#stComForm .acci-st-remove{align-self:flex-start;background:transparent;border:1px solid #ccc;border-radius:8px;padding:6px 9px;color:var(--text,#222);font:inherit;font-size:12px;cursor:pointer}
#stComForm .acci-st-notice{margin:8px 0 0;padding:8px 10px;border-left:3px solid #ff4da6;border-radius:5px;background:rgba(255,77,166,.07);font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--text,#222)}
#stComForm .acci-st-notice:empty{display:none}
#stComList .acci-st-comment-row{display:flex;align-items:flex-start;gap:9px;width:100%}
#stComList .acci-st-comment-row>.st-comment-text{flex:1;min-width:0;width:auto!important;overflow-wrap:anywhere}
#stComList .acci-st-heart{box-sizing:border-box;display:flex;flex:0 0 38px;min-height:44px;align-items:center;flex-direction:column;gap:3px;padding:2px 4px;background:transparent;border:0;color:var(--muted,#737373);cursor:pointer}
#stComList .acci-st-heart svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .12s ease}
#stComList .acci-st-heart span{font-size:11px;line-height:1.2}
#stComList .acci-st-heart.acci-liked{color:var(--pink,#e9378f)}
#stComList .acci-st-heart.acci-liked svg{fill:currentColor}
#stComList .acci-st-heart:active svg{transform:scale(.92)}
#stComList .acci-st-heart:disabled{opacity:.5;cursor:wait}
#stComList .acci-comment-image{display:block;width:auto;height:auto;max-width:min(100%,220px);max-height:160px;object-fit:contain;border-radius:8px;margin:8px 0 0}
#stComList .acci-moderation-note{display:block;margin:7px 0;color:var(--muted,#666);font-size:12px}
@media(max-width:360px){#stComForm .st-com-textarea{gap:6px}#stComForm .acci-st-photo,#stComForm .acci-st-submit{flex-basis:42px;width:42px;min-width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){#stComList .acci-st-heart svg{transition:none}}

#stComList .acci-private-comment .st-comment-avatar{flex:0 0 45px}
#stComList .acci-private-comment .st-comment-avatar img{display:block;box-sizing:border-box;width:45px;height:45px;border:2px solid #ff4da6;border-radius:50%;object-fit:cover}
#stComList .acci-private-comment .st-comment-author{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 4px;font-size:15px;font-weight:900;line-height:1.2;color:var(--text,#111)}
#stComList .acci-private-comment .acci-st-date{font-size:11px;font-weight:400;color:var(--muted,#888)}
#stComList .acci-private-comment .st-comment-text{margin:0 0 6px;font-size:14.5px;line-height:1.4;color:var(--text,#333);overflow-wrap:anywhere;word-break:break-word;white-space:normal}
#stComList .acci-private-comment .acci-st-parent{display:block;margin:0 0 6px;font-size:11px;font-weight:600;color:var(--muted,#888)}
#stComList .acci-private-comment .acci-st-parent a{color:#ff4da6}
#stComList .acci-private-comment .st-comment-reply-btn{display:inline-block;padding:0;border:0;background:transparent;color:#ff4da6;font-family:inherit;font-size:13px;font-weight:900;text-transform:uppercase;text-align:left;cursor:pointer}
#stComList .children{display:block;list-style:none;margin:15px 0 0 25px;padding-left:12px;border-left:2px solid #ffd1e8}
#stComList .children .acci-private-comment .st-comment-avatar{flex-basis:34px}
#stComList .children .acci-private-comment .st-comment-avatar img{width:34px;height:34px}
#stComList .children .acci-private-comment .st-comment-text,#stComList .children .acci-private-comment .st-comment-author{font-size:13px}

/* Only the empty list uses centering. Actual threads retain their scroll layout. */
#stComList:has(> .acci-st-empty:only-child) {
    display: grid;
    place-items: center;
}
#stComList > .acci-st-empty {
    margin: 0;
    color: #757575;
    text-align: center;
}

#stComList>.acci-st-more{display:block;width:100%;padding:12px 16px;margin:16px 0 0;border:1px solid #ffc1df;border-radius:12px;background:#fff5fa;color:#b6206d;font-family:inherit;font-size:13px;line-height:1.4;font-weight:600;cursor:pointer}
#stComList>.acci-st-more:focus-visible{outline:2px solid #ff4da6;outline-offset:3px}
#stComList>.acci-st-more:disabled{opacity:.6;cursor:wait}
