.bf-comments {
  --bfc-paper:#f4f2e8; --bfc-muted:#bec1b4; --bfc-rule:#383d33; --bfc-acid:#edff54;
  --bfc-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,monospace;
  width:min(100%,1440px); margin:0 auto; padding:12px clamp(14px,2.5vw,36px) clamp(62px,8vw,112px);
  color:var(--bfc-paper); font:400 16px/1.5 Inter,"Helvetica Neue",Arial,sans-serif;
}
.bf-comments *, .bf-comments *::before, .bf-comments *::after {box-sizing:border-box}
.bf-comments > * {width:min(100%,900px)}
.bfc-header {display:flex;align-items:center;gap:12px;min-height:64px;border-top:2px solid var(--bfc-paper);padding-top:12px}
.bfc-header h2 {font:750 clamp(1.9rem,3.6vw,3.1rem)/1.05 Inter,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.065em;margin:0}
.bfc-tally {align-self:center;min-width:28px;text-align:center;padding:3px 6px;color:var(--bfc-acid);border:1px solid #61683d;border-radius:4px;font:600 .79rem/1.25 var(--bfc-mono);font-variant-numeric:tabular-nums}
.bf-comments button {font:inherit;font-weight:600;font-size:.875rem;line-height:1.2;cursor:pointer;min-height:44px;color:var(--bfc-paper);background:transparent;border:1px solid transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.bf-comments button:disabled {opacity:.50;cursor:default}
.bf-comments :is(button,input,textarea,li):focus-visible {outline:3px solid var(--bfc-acid);outline-offset:3px}
.bf-comments .bfc-refresh {margin-left:auto;padding:6px 12px;color:var(--bfc-muted);font-weight:600;font-size:.87rem;border:1px solid var(--bfc-rule);border-radius:5px}
.bfc-refresh::before {content:"↻";font-size:1.12rem;line-height:1;margin-right:6px}
.bfc-scope {margin:6px 0 18px;color:var(--bfc-muted);font-size:.86rem;line-height:1.45}
.bfc-scope.is-device {border-left:2px solid #bdad75;padding-left:10px;color:#ecdb9d}
.bfc-composer {margin:14px 0 0;padding:clamp(15px,2.5vw,25px);display:grid;min-width:0;background:#1b1d18;border:1px solid #41463a;border-radius:8px}
.bfc-label {display:block;font-size:.9rem;font-weight:650;letter-spacing:-.01em;color:var(--bfc-paper)}
.bfc-composer textarea,.bfc-composer input[type=text] {display:block;width:100%;min-width:0;font:400 1rem/1.45 Inter,system-ui,sans-serif;color:var(--bfc-paper);background:#11130f;border:1px solid #565b4e;border-radius:5px;padding:10px 12px;caret-color:var(--bfc-acid)}
.bfc-composer textarea {margin:7px 0 0;min-height:86px;resize:vertical}
.bfc-composer input[type=text] {min-height:44px;margin-top:5px}
.bfc-composer textarea::placeholder,.bfc-composer input::placeholder {color:#999d90;opacity:1}
.bfc-composer :is(input,textarea)[aria-invalid=true] {border-color:#ffa99e}
.bfc-tools {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px}
.bfc-count {margin-left:auto;color:#adb2a2;font:500 .77rem/1.3 var(--bfc-mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.bfc-count.is-over,.bfc-error,.bfc-status.is-error {color:#ffb5a4}
.bf-comments .bfc-mark {display:inline-flex;align-items:center;gap:7px;margin-left:-6px;padding:4px 6px;border-radius:3px;color:#d0d4c4;font-size:.84rem;font-weight:650}
.bfc-mark::before {content:"";display:inline-block;width:14px;height:14px;flex:none;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(currentColor,currentColor) 5px 2px/1px 5px no-repeat,linear-gradient(currentColor,currentColor) 5px 6px/4px 1px no-repeat}
.bf-comments .bfc-mark[aria-pressed=true] {color:var(--bfc-acid)}
.bfc-composer-foot {display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--bfc-rule);padding-top:12px}
.bfc-name-area {width:min(100%,18rem)}
.bfc-remember {display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:.82rem;color:var(--bfc-muted);cursor:pointer}
.bfc-remember input {accent-color:var(--bfc-acid);width:16px;height:16px;margin:0}
.bf-comments .bfc-send {display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;padding:10px 16px;min-height:45px;color:#16190b;background:var(--bfc-acid);border:1px solid var(--bfc-acid);border-radius:4px;font-weight:750;font-size:.94rem}
.bfc-send::after {content:"↑";font:700 1.15rem/1 Arial}
.bfc-status {margin:12px 0;color:var(--bfc-muted);font-size:.9rem}
.bfc-status:empty {margin:0}
.bfc-empty {padding:22px 0 0;margin:0;color:var(--bfc-muted);font-size:.93rem}
.bfc-error {margin:4px 0 7px;font-size:.85rem}
.bf-comments .bfc-retry,.bf-comments .bfc-more {width:auto;border:1px solid #5c6452;border-radius:5px;padding:9px 16px;font-weight:650}
.bfc-more {margin-top:16px}
.bf-comments-list {list-style:none;min-width:0;margin:0;padding:0}
.bf-comments-list:not(:empty) {margin-top:22px}
.bf-comments-list li {margin:0;padding:15px 0;border-bottom:1px solid var(--bfc-rule)}
.bfc-entry {display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px}
.bfc-avatar {width:34px;height:34px;display:grid;place-items:center;border:1px solid #515845;background:#2c3325;color:#d2dbb6;border-radius:50%;font:650 .77rem/1 var(--bfc-mono)}
.bf-comment-by {display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap}
.bf-comment-by strong {color:var(--bfc-paper);font-size:.97rem;overflow-wrap:anywhere}
.bf-comment-by time {font-size:.77rem;color:#a9ae9e;font-variant-numeric:tabular-nums}
.bfc-message {min-width:0}
.bfc-message p {margin:.26rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.52;color:#dedfd4}
.bf-comments .bfc-stamp {padding:3px 9px;margin:5px 0 1px;border:1px solid #626a35;border-radius:4px;color:var(--bfc-acid);font:650 .81rem/1 var(--bfc-mono)}
.bfc-stamp::before {content:"▶";font-size:.65rem;margin-right:.45rem}
.bfc-time-text {color:var(--bfc-acid);font:500 .82rem var(--bfc-mono)}
.bf-comments [hidden] {display:none!important}
@media (hover:hover) {
  .bf-comments button:not(:disabled):hover {border-color:var(--bfc-acid);color:var(--bfc-acid)}
  .bf-comments .bfc-send:not(:disabled):hover {background:#f6ff97;color:#15180b}
}
@media (max-width:540px) {
  .bf-comments {padding-top:4px}
  .bfc-header {gap:8px;padding-top:9px}
  .bfc-header h2 {font-size:2.05rem}
  .bfc-composer-foot {align-items:stretch;flex-direction:column;gap:4px}
  .bfc-name-area {width:100%}
  .bf-comments .bfc-send {width:100%}
  .bfc-composer {padding:14px}
  .bfc-entry {grid-template-columns:29px minmax(0,1fr);gap:9px}
  .bfc-avatar {width:29px;height:29px;font-size:.68rem}
  .bf-comment-by {column-gap:9px}
}
@media(max-width:340px) {.bfc-refresh::before{display:none}.bf-comments .bfc-refresh{padding-inline:7px}.bfc-header h2{font-size:1.78rem}}
