.heading .sub{max-width:960px;font-size:16px;line-height:1.6}
.layout-picker canvas{aspect-ratio:9/16}
.tiktok-workspace{align-items:start}
.tiktok-workspace .editor,.tiktok-results{min-width:0}
.tiktok-workspace .upload{display:flex;margin-top:0}
.tiktok-workspace input[type=text],.tiktok-workspace input[type=number],.tiktok-workspace textarea,.tiktok-workspace select{width:100%;min-width:0}
.tiktok-workspace textarea{min-height:92px;resize:vertical}
.tiktok-workspace [hidden],.tiktok-results [hidden]{display:none}
.tiktok-workspace .toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}
.tiktok-results figure{margin:0 0 16px}
.tiktok-results figcaption{font-size:13px;margin-bottom:8px}
.tiktok-results #preview{display:block;width:100%;max-width:360px;height:auto;aspect-ratio:9/16}
.tiktok-results button{width:100%;margin-top:8px}
.tiktok-preview{max-width:100%;overflow-x:auto;margin-top:20px}
.tiktok-preview #small{display:block;width:216px;height:384px;max-width:none}
.tiktok-notes{margin-top:40px}
.tiktok-notes article{max-width:960px}
.tiktok-notes h3{font-size:17px;margin-top:24px}
.tiktok-notes p,.tiktok-notes li{line-height:1.65}
.tiktok-notes li{margin-bottom:8px}
.tiktok-notes a{overflow-wrap:anywhere}
.official-facts{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 18px;margin:18px 0}
.official-facts dt{font-weight:700}
.official-facts dd{margin:0}
#status,#error{overflow-wrap:anywhere}
@media(max-width:760px){
  main{padding:24px 20px}
  .tiktok-workspace{grid-template-columns:minmax(0,1fr)}
  .tiktok-results{grid-row:1}
  .tiktok-workspace .editor{grid-row:2}
  .tiktok-results #preview{max-width:280px}
  .official-facts{grid-template-columns:minmax(0,1fr);gap:3px}
  .official-facts dd{margin-bottom:10px}
}
