
.sbc-intro{max-width:760px;margin:0 0 16px}
.sbc-board{position:relative;padding:24px;gap:18px;cursor:default}
.sbc-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;pointer-events:none}
.sbc-copy[hidden]{display:none}
.sbc-copy .btn{pointer-events:auto}
.sbc-title{font-size:clamp(20px,4.4vw,26px);font-weight:600;color:var(--text)}
.sbc-key{
  position:relative;z-index:1;width:min(420px,86%);min-height:132px;padding:12px 18px;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg);border:1px solid var(--line);border-radius:18px;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-weight:400;font-size:clamp(26px,6vw,40px);letter-spacing:.26em;padding-left:calc(18px + .26em);
  color:var(--text);cursor:pointer;touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;
}
@media(hover:hover){.sbc-board[data-state="idle"] .sbc-key:hover{border-color:var(--muted)}}
.sbc-board[data-state="run"] .sbc-key{background:var(--go);border-color:var(--go);color:#e9f2ec}
.sbc-board[data-state="done"] .sbc-key{display:none}
.sbc-key:focus-visible{outline-color:var(--text)}
.sbc-live{font-size:clamp(18px,4vw,23px);font-weight:600;color:var(--text)}
.sbc-live b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.sbc-done strong{
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-weight:200;font-size:clamp(42px,10vw,64px);line-height:1.05;
}
.sbc-done strong small{font-size:.36em;font-weight:400;color:var(--muted);letter-spacing:0}
.sbc-done-line{font-size:16px;font-weight:600;color:var(--text)}
.sbc-done-line b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.sbc-result{padding:14px 18px;margin:12px 0 14px}
.sbc-summary{font-weight:600;color:var(--text);margin:0}
.sbc-summary b,.sbc-result b{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.sbc-result .result-actions{margin-top:10px}
.sbc-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.sbc-kpis small{font-size:.55em;font-weight:400;color:var(--muted)}
.sbc-input-note{max-width:660px;margin:8px auto 0;text-align:center}
.sbc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;text-align:left}
.sbc-head h2{margin:0}
.sbc-history{width:100%;border-collapse:collapse;margin-top:8px;font-size:14px}
.sbc-history th,.sbc-history td{padding:8px 6px;border:0;border-bottom:1px solid var(--line);text-align:left;background:transparent}
.sbc-history th{font-size:11px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-weight:600}
.sbc-history td:first-child,.sbc-history td:nth-child(2),.sbc-history td:nth-child(3),.sbc-history td:last-child{font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:400}
.sbc-history td:last-child,.sbc-history th:last-child{text-align:right}
.sbc-history .rating-word{color:var(--muted);font-weight:600}
.sbc-scale .you[hidden]{display:none}
.sbc-share-canvas{position:absolute;left:-9999px;top:-9999px}
@media(max-width:640px){
  .sbc-board{padding:18px}
  .sbc-key{width:min(300px,90%);min-height:112px;font-size:clamp(24px,7vw,32px)}
  .sbc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sbc-kpis .v{font-size:18px}
  .sbc-history{font-size:12px}
  .sbc-history th,.sbc-history td{padding:7px 4px}
}
