/* TikTokLine Content Capture controls — outside the 393×852 capture surface. */
.preview-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.capture-tools{display:flex;align-items:center;gap:5px}
.capture-btn{
  height:27px;padding:0 9px;border:1px solid #dbe3ed;border-radius:7px;background:#fff;color:#40546d;
  font:inherit;font-size:9px;font-weight:850;line-height:1;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;gap:5px
}
.capture-btn:hover:not(:disabled){background:#f6f8fb;border-color:#cbd6e4}
.capture-btn:disabled{opacity:.42;cursor:not-allowed}
.capture-record-dot{width:7px;height:7px;border-radius:50%;background:#e5484d;box-shadow:0 0 0 1px rgba(229,72,77,.12)}
.capture-record.is-recording{background:#fff2f3;border-color:#efbfc3;color:#a72f38}
.capture-record.is-paused{background:#fff8e9;border-color:#ead5a1;color:#8a6725}
.capture-pause:not(:disabled){color:#9a6a19}
.capture-stop:not(:disabled){color:#a72f38;border-color:#efc6ca}
.record-timer{
  min-width:34px;color:#b02f38;font-size:9px;font-weight:850;font-variant-numeric:tabular-nums;text-align:right
}
.capture-tools.is-paused .record-timer{color:#8a6725}
@media(max-width:1180px){
  .preview-badges .preview-badge:last-child{display:none}
}
@media(max-width:1040px){
  .preview-badges{display:none}
}
@media(max-width:940px){
  .preview-head-actions{gap:6px}
  .capture-btn{height:26px;padding:0 8px}
}
@media(max-width:620px){
  .capture-tools{gap:3px}
  .capture-btn{padding:0 6px;font-size:8px}
}
@media(max-width:520px){
  .section-title span{display:none}
}

/* Mobile capture toolbar: no horizontal overflow on 320–640px screens. */
@media(max-width:640px){
  .preview-head-actions{width:100%;margin:0}
  .capture-tools{
    width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px
  }
  .capture-btn{width:100%;min-width:0;height:36px;padding:0 4px;font-size:8px}
  .record-timer{grid-column:1/-1;justify-self:end;min-width:0;padding-right:2px}
}
@media(max-width:360px){
  .capture-btn{font-size:7.5px}
}
