/* Unified reaction / editor / comment hierarchy; inherit the existing light/dark palette. */
.nex57-comments{--nx-text:#243444;--nx-muted:#627187;--nx-border:#dfe5ed;--nx-soft:#f5f7fa;--nx-tint:#edf3ff;--nx-link:#2271b1;--nx-danger:#a64f57}
html:is(.dark,.theme-dark,[data-bs-theme=dark],[data-nex-theme=dark],[data-theme=dark]) .nex57-comments,body:is(.dark,.dark-mode,.ripro-dark,.theme-dark,[data-theme=dark]) .nex57-comments{--nx-text:#e0e7ef;--nx-muted:#a5b3c4;--nx-border:#3b4858;--nx-soft:#27323e;--nx-tint:#293f5b;--nx-link:#80c9ff;--nx-danger:#d99595}
html body #comments .nex57-reactions{padding:16px 20px 12px;border:1px solid var(--nx-border);border-radius:14px;margin:18px 0 22px;background:var(--nx-soft);color:var(--nx-text)}
.nex57-reaction-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px}.nex57-reaction-heading span{font-size:12px;color:var(--nx-muted)}
html body #comments .nex57-reaction-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:720px;margin:12px auto 0}
html body #comments .nex57-reaction-options button{display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid transparent;border-radius:12px;padding:8px 4px;background:transparent;color:var(--nx-muted);font:inherit;font-size:12px;line-height:1.4;cursor:pointer;transition:background .15s,transform .15s,border-color .15s}
html body #comments .nex57-reaction-options button b{font-size:14px;color:var(--nx-text);font-weight:650;font-variant-numeric:tabular-nums}
.nex57-reaction-options img{width:36px;height:36px;object-fit:contain}.nex57-emoji{display:flex;align-items:center;justify-content:center;font-size:29px;line-height:36px;width:36px;height:36px}
html body #comments .nex57-reaction-options button:hover:not(:disabled){background:var(--nx-tint);transform:translateY(-2px)}
html body #comments .nex57-reaction-options button[aria-pressed=true]{border-color:var(--nx-link);background:var(--nx-tint);color:var(--nx-link)}
.nex57-reaction-status{margin:8px 0 0;font-size:12px;color:var(--nx-muted)}.nex57-reaction-status:empty{display:none}
html body #comments .nex-review38-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 14px;padding:0;border:0;font-size:13px;color:var(--nx-muted)}
html body #comments .nex-review38-summary strong{font-size:13px}.nex-review38-summary small{font-size:11px}
html body #comments form:has(.nex-review38-form){padding:18px!important;border:1px solid var(--nx-border);border-radius:14px;background:var(--nx-soft);margin:0 0 24px;display:flow-root}
.nex57-composer-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;font-size:15px;font-weight:650}.nex57-composer-title span{font-size:11px;font-weight:400;color:var(--nx-muted)}
html body #comments .nex-review38-choices button{min-width:0;min-height:38px;gap:6px;margin:0;padding:5px 13px;border-radius:20px;background:transparent;font-size:13px}
html body #comments .nex-review38-choices button img{width:26px;height:26px}
html body #comments .nex-review38-optin{font-size:12px;color:var(--nx-muted)}
html body #comments form:has(.nex-review38-form) .comment-form-comment{clear:both;float:none;width:100%;margin:0 0 12px;padding:0}
html body #comments form:has(.nex-review38-form) textarea{width:100%;min-height:112px;max-height:360px;border:1px solid var(--nx-border);border-radius:10px;background:var(--nx-tint);color:var(--nx-text);padding:14px;font-size:15px;line-height:1.7;box-shadow:none;box-sizing:border-box}
html body #comments form:has(.nex-review38-form) .form-submit{clear:both;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 0;padding:0;font-size:12px}
html body #comments form:has(.nex-review38-form) .form-submit :is(button,input[type=submit]){float:none;border:0;border-radius:22px;background:#287cc4;color:#fff;padding:10px 22px;font:inherit;font-size:14px;font-weight:600;box-shadow:none}
html body #comments .comments-list .comment:has(.nex-review38){padding:14px 16px!important;margin:0 0 12px;border:1px solid var(--nx-border);border-radius:12px;background:var(--nx-soft)}
html body #comments .comments-list .comment-inner:has(.nex-review38){display:flex;align-items:flex-start;gap:12px}
html body #comments .comment-inner:has(.nex-review38) .comment-author{flex:0 0 36px;margin:0}
html body #comments .comment-inner:has(.nex-review38) img.avatar{width:36px;height:36px;margin:0}
html body #comments .comment-inner:has(.nex-review38) .comment-body{flex:1;min-width:0;width:auto;margin:0}
html body #comments .comment-inner:has(.nex-review38) .nickname{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.4;color:var(--nx-text)}
html body #comments .nickname time{font-size:11px;color:var(--nx-muted);font-weight:400;margin-left:auto}
html body #comments .nex-review38-head{display:inline-flex;align-items:center;gap:4px;margin:0;padding:3px 8px;min-height:0;border:0;border-radius:14px;background:var(--nx-tint);color:var(--nx-link);line-height:1.2}
html body #comments .nex-review38-head.is-notrecommend{color:var(--nx-danger)}
html body #comments .nex-review38-head img{width:20px;height:20px;object-fit:contain}
html body #comments .nex-review38-head strong{font-size:11px;font-weight:600;color:inherit}
html body #comments section.nex-review38{padding:0!important;margin:0;font-size:15px;line-height:1.75;min-width:0}
html body #comments .comment-content:has(.nex-review38){padding:0;margin:0}
html body #comments .nex-review38-content{overflow-wrap:anywhere;color:var(--nx-text);max-width:80ch}
html body #comments .nex-review38-content p{margin:0 0 8px}.nex-review38-content p:last-child{margin-bottom:0}
html body #comments .nex-review38-pc{padding:10px 12px!important;margin:12px 0 0;border:1px solid var(--nx-border);border-radius:8px;background:var(--nx-tint);max-width:850px}
html body #comments .nex-review38-pc>strong{font-size:11px;color:var(--nx-link);margin-bottom:4px}
html body #comments .nex-review38 footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 0;padding:8px 0 0;border-top:1px solid var(--nx-border);font-size:12px;color:var(--nx-muted)}
html body #comments .nex-review38-helpful{border:1px solid var(--nx-border);border-radius:15px;background:transparent;color:var(--nx-muted);font:inherit;font-size:12px;line-height:1.5;padding:3px 10px;cursor:pointer}
html body #comments .nex-review38 footer .comment-meta{margin:0;padding:0;font-size:12px;line-height:1.5}
html body #comments .nex-review38 footer .comment-reply-link{font-size:12px;color:var(--nx-muted)}
#comments .nex57-reactions button:focus-visible{outline:2px solid var(--nx-link);outline-offset:3px}
html body #comments #respond form .form-submit #reply-title{position:static!important;float:none!important;display:block;background:transparent;box-shadow:none;border:0;padding:0;margin:0;width:auto;font:inherit;font-size:12px;line-height:1.5;color:var(--nx-muted)}
html body #comments #respond form .form-submit :is(button,input[type=submit]){position:static!important;margin-left:auto;order:2;flex:none}
@media(max-width:600px){html body #comments .nex57-reactions{padding:14px 10px}.nex57-reaction-heading span{display:none}html body #comments .nex57-reaction-options{gap:2px}.nex57-reaction-options img{width:30px;height:30px}.nex57-emoji{font-size:26px;width:30px;height:30px}html body #comments .comments-list .comment:has(.nex-review38){padding:12px!important}html body #comments .nickname time{margin-left:0;width:100%}html body #comments form:has(.nex-review38-form){padding:12px!important}.nex57-composer-title{font-size:14px}html body #comments section.nex-review38{font-size:14px}}
@media(prefers-reduced-motion:reduce){html body #comments .nex57-reaction-options button{transition:none}}

/* 0.21.60: one continuous discussion surface, rather than nested cards. */
html body #comments .comments-list{padding-left:0;padding-right:0;list-style:none}
html body #comments .nex57-reactions{padding:8px 0 12px;margin:10px 0 12px;background:transparent;border:0;border-bottom:1px solid var(--nx-border);border-radius:0}
html body #comments .nex57-reaction-heading{font-size:13px}
html body #comments .nex57-reaction-options{display:flex;justify-content:flex-start;gap:16px;max-width:none;margin:8px 0 0}
html body #comments .nex57-reaction-options button{display:grid;grid-template-columns:26px auto;grid-template-rows:auto auto;column-gap:6px;row-gap:0;padding:5px 8px;border-radius:5px;text-align:left;min-width:82px}
html body #comments .nex57-reaction-options button :is(img,.nex57-emoji){grid-column:1;grid-row:1/3;width:26px;height:26px;font-size:24px;line-height:26px}
html body #comments .nex57-reaction-options button b{grid-column:2;grid-row:1;font-size:12px}
html body #comments .nex57-reaction-options button>span:last-child{grid-column:2;grid-row:2;font-size:11px}
html body #comments .nex57-reaction-options button:hover:not(:disabled){transform:none}
html body #comments .nex-review38-summary{margin:0 0 10px;font-size:12px;gap:6px 12px}
html body #comments .nex-review38-summary small{display:none}
html body #comments form:has(.nex-review38-form){border:0;border-radius:0;background:transparent;padding:0!important;margin:0 0 16px}
html body #comments .nex-review38-form{margin:0 0 8px}
html body #comments .nex57-composer-title{display:none}
html body #comments .nex-review38-choices{gap:8px}
html body #comments .nex-review38-choices button{min-height:30px;padding:3px 9px;font-size:12px;border-radius:5px}
html body #comments .nex-review38-choices button img{width:20px;height:20px}
html body #comments .nex-review38-optin{position:static;margin:6px 0 0;font-size:11px}
html body #comments form:has(.nex-review38-form) textarea{min-height:82px;padding:10px 12px;border-radius:6px;font-size:14px;background:var(--nx-soft)}
html body #comments form:has(.nex-review38-form) .form-submit{margin-top:8px}
html body #comments form:has(.nex-review38-form) .form-submit :is(button,input[type=submit]){padding:7px 17px;border-radius:5px;font-size:13px}
html body #comments .comments-list .comment:has(.nex-review38){padding:14px 0!important;margin:0;background:transparent;border:0;border-top:1px solid var(--nx-border);border-radius:0;box-shadow:none}
html body #comments .comment-inner:has(.nex-review38) .nickname{margin-bottom:5px;gap:5px 8px;font-size:13px}
html body #comments section.nex-review38{font-size:14px;line-height:1.65}
html body #comments .nex-review38-head{padding:2px 5px;background:transparent;border-radius:0}
html body #comments .nex-review38-pc{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;padding:5px 0!important;margin:6px 0 0;background:transparent;border:0;border-radius:0;max-width:none;color:var(--nx-muted)}
html body #comments .nex-review38-pc>strong{display:inline;margin:0;font-size:11px;font-weight:500;color:var(--nx-muted)}
html body #comments .nex-review38-pc dl{display:flex;flex-wrap:wrap;gap:3px 16px;font-size:11px;line-height:1.6}
html body #comments .nex-review38-pc dl>div{gap:5px}
html body #comments .nex-review38 footer{padding:0;margin:7px 0 0;border:0;gap:12px;font-size:11px}
html body #comments .nex-review38-helpful{padding:2px 5px;border:0;border-radius:3px;font-size:11px}
@media(max-width:600px){html body #comments .nex57-reaction-options{gap:2px;justify-content:space-between;overflow-x:auto}html body #comments .nex57-reaction-options button{display:flex;flex-direction:column;gap:0;min-width:42px;padding:4px 2px;text-align:center}html body #comments .nex57-reaction-options button b{order:2}html body #comments .nex57-reaction-options button>span:last-child{order:1}html body #comments .nex-review38-pc dl{gap:2px 10px}html body #comments .nickname time{width:auto;margin-left:auto}html body #comments .comment-inner:has(.nex-review38) .comment-author{flex-basis:30px}html body #comments .comment-inner:has(.nex-review38) img.avatar{width:30px;height:30px}}
