.ct-character-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--zs-primary-soft);color:var(--zs-primary);font-size:21px}
.ct-character-summary{display:flex;gap:16px;align-items:center;margin:18px 0;padding:14px;border:1px solid var(--zs-border);border-radius:14px;background:var(--zs-primary-soft)}
.ct-character-summary img{width:112px;height:84px;object-fit:cover;border-radius:9px;flex:none}
.ct-character-summary p{margin:6px 0 0}.ct-character-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:16px}
.ct-characters>.ct-help{margin-top:0}.ct-characters #characterSaveHint{margin:13px 0 0}
.ct-duration{margin:18px 0}.ct-duration-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.ct-duration-fields>select:only-child{grid-column:1/-1}
.ct-duration-fields:has([hidden]){grid-template-columns:1fr}.ct-duration-fields>label{font-size:12px;font-weight:500}
.ct-brief-footer{flex-wrap:wrap;gap:12px}.ct-brief-footer .ct-link{padding:9px 0}.ct-brief-footer #createEpisode{flex-basis:100%;justify-content:center}
.ct-scene-media{margin:14px 0 18px}.ct-scene-media video,.ct-scene-media img{display:block;width:100%;max-height:290px;object-fit:contain;background:#17171d;border-radius:12px;aspect-ratio:16/9}
.ct-character-dialog{width:min(560px,calc(100vw - 32px))}.ct-character-dialog h2{padding-right:0}.ct-character-dialog input,.ct-character-dialog textarea,.ct-character-dialog select{width:100%;box-sizing:border-box}
.ct-character-dialog .ct-character-actions{justify-content:flex-end}.ct-character-dialog .ct-help{line-height:1.6}
@media(max-width:600px){.ct-character-summary{gap:12px}.ct-character-summary img{width:88px;height:72px}.ct-character-summary strong{font-size:14px}.ct-duration-fields{grid-template-columns:1fr 108px}.ct-character-actions .ct-button{flex:1}.ct-brief-footer .ct-button{width:100%;justify-content:center}.ct-brief-footer .ct-link{width:100%;text-align:center}.ct-character-dialog{max-height:calc(100dvh - 28px);overflow:auto}.ct-character-dialog .ct-character-actions{position:sticky;bottom:-24px;background:var(--zs-bg-2);padding:16px 0;margin-bottom:-4px}}
