html{color-scheme:dark}html[data-zs-theme=light]{color-scheme:light}body{margin:0;background:var(--zs-bg);color:var(--zs-text);font-family:var(--zs-font);font-size:14px;line-height:1.5}.cartoon,.cartoon *{box-sizing:border-box}.cartoon{max-width:1420px;margin:auto;padding:40px 38px 72px}.cartoon [hidden]{display:none!important}.cartoon button,.cartoon input,.cartoon select,.cartoon textarea{font:inherit}.cartoon button{cursor:pointer}.cartoon button:disabled{cursor:not-allowed;opacity:.45}.cartoon :focus-visible{outline:2px solid var(--zs-primary);outline-offset:3px}.cartoon h1,.cartoon h2,.cartoon h3,.cartoon p{margin:0}.ct-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.ct-header h1{font-size:clamp(28px,2.5vw,36px);font-weight:700;letter-spacing:-1.1px;line-height:1.2;margin-top:7px}.ct-header p{color:var(--zs-text-2);margin-top:8px;font-size:15px}.ct-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--zs-primary);display:block}.ct-button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:10px 17px;border:1px solid transparent;border-radius:11px;font-weight:600;line-height:1.3;transition:background .15s,transform .15s}.ct-button:active:not(:disabled){transform:translateY(1px)}.ct-primary{background:var(--vg-accent);color:white;box-shadow:0 2px 4px #00000012}.ct-primary:hover:not(:disabled){background:var(--vg-accent-hover)}.ct-primary>span{font-size:11px;opacity:.88;padding-left:12px;border-left:1px solid #ffffff45}.ct-secondary{background:var(--zs-bg-2);border-color:var(--zs-border-2);color:var(--zs-text)}.ct-secondary:hover:not(:disabled){background:var(--zs-bg-3)}.ct-link{border:0;background:none;color:var(--zs-primary);font-size:13px;font-weight:600;min-height:36px;padding:6px}.ct-link:hover{text-decoration:underline}.ct-tabs{display:flex;align-items:center;gap:25px;margin:30px 0 26px;border-bottom:1px solid var(--zs-border-2)}.ct-tabs>button{padding:13px 0;border:0;border-bottom:2px solid transparent;color:var(--zs-text-2);background:none;font-weight:600}.ct-tabs>button.active{color:var(--zs-text);border-bottom-color:var(--zs-primary)}.ct-tabs>span{margin-left:auto;font-size:11px;color:var(--zs-text-2)}.ct-tabs #historyCount:not(:empty){font-size:11px;margin-left:5px;padding:2px 6px;border-radius:20px;background:var(--zs-bg-3)}.ct-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.ct-editor,.ct-side{min-width:0}.ct-side{position:sticky;top:24px}.ct-card{background:var(--zs-bg-2);border:1px solid var(--zs-border);border-radius:17px;padding:24px;margin-bottom:20px}.ct-section-title{display:flex;align-items:center;gap:10px;margin-bottom:20px}.ct-section-title h2{font-size:16px;letter-spacing:-.2px}.ct-step{height:25px;width:25px;display:grid;place-items:center;background:var(--zs-primary-soft);color:var(--zs-primary);font-size:12px;font-weight:700;border-radius:8px}.ct-muted{margin-left:auto;font-size:11px;color:var(--zs-text-2)}.ct-label,.ct-grid>label,.ct-details-body>label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.cartoon input[type=text],.cartoon textarea,.cartoon select{display:block;width:100%;background:var(--zs-bg);color:var(--zs-text);border:1px solid var(--zs-border-2);border-radius:9px;padding:11px 12px;font-size:13px;line-height:1.5;transition:border-color .15s}.cartoon textarea{resize:vertical;min-height:90px}.cartoon input::placeholder,.cartoon textarea::placeholder{color:var(--zs-text-3)}.cartoon select{padding-right:24px;min-height:43px}.cartoon label>select{margin-top:7px}.ct-examples{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 22px}.ct-examples button{font-size:10px;border-radius:20px;border:1px solid var(--zs-border-2);background:none;color:var(--zs-text-2);padding:5px 9px}.ct-examples button:hover{border-color:var(--zs-primary);color:var(--zs-primary)}.ct-mode,.ct-orientation{margin:0 0 20px;padding:0;border:0;display:flex;gap:9px}.ct-mode legend,.ct-orientation legend{font-size:12px;font-weight:600;margin-bottom:9px}.ct-mode label,.ct-orientation label{position:relative;display:flex;flex:1;min-width:0;cursor:pointer}.ct-mode input,.ct-orientation input{position:absolute;opacity:0;width:1px;height:1px}.ct-mode label>span{width:100%;padding:13px 12px;border:1px solid var(--zs-border-2);border-radius:11px;display:flex;flex-direction:column;gap:3px}.ct-mode strong{font-size:12px}.ct-mode small{font-size:10px;color:var(--zs-text-2)}.ct-mode input:checked+span,.ct-orientation input:checked+span{border-color:var(--zs-primary);background:var(--zs-primary-soft)}.ct-mode input:focus-visible+span,.ct-orientation input:focus-visible+span{outline:2px solid var(--zs-primary);outline-offset:3px}.ct-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ct-three{grid-template-columns:repeat(3,minmax(0,1fr))}.ct-brief-footer{display:flex;align-items:center;gap:14px;margin-top:17px}.ct-details{border-bottom:1px solid var(--zs-border-2);margin:14px 0}.ct-details summary{padding:12px 0;cursor:pointer;font-size:12px;color:var(--zs-text-2)}.ct-details-body{padding-bottom:17px}.ct-details-body .ct-grid{margin-top:12px}.ct-help{font-size:11px;color:var(--zs-text-2);line-height:1.6}.ct-scene{margin-top:18px;border:1px solid var(--zs-border-2);border-radius:12px;padding:17px;background:var(--zs-bg)}.ct-scene-head{display:flex;align-items:center;gap:9px;margin-bottom:13px}.ct-scene-head strong{font-size:12px}.ct-scene-number{font-size:10px;font-weight:700;color:var(--zs-primary);font-variant-numeric:tabular-nums}.ct-scene-actions{display:flex;margin-left:auto;gap:4px}.ct-icon-button{border:0;color:var(--zs-text-2);background:none;width:30px;height:30px;border-radius:7px;font-size:15px}.ct-icon-button:hover{background:var(--zs-bg-3)}.ct-scene textarea{min-height:70px;background:var(--zs-bg-2);margin-bottom:12px}.ct-scene .ct-grid input,.ct-scene .ct-grid select{background:var(--zs-bg-2);font-size:12px;margin-top:7px}.ct-scene audio{width:100%;height:36px;margin-top:10px}.ct-scene-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;font-size:10px;color:var(--zs-text-2)}.ct-voice-ready{color:#208c68}.ct-voice-long{color:var(--zs-danger)}.ct-pronunciation{font-size:11px;margin-top:8px}.ct-pronunciation summary{cursor:pointer;color:var(--zs-text-2);margin-bottom:8px}.ct-pronunciation input{font-size:12px!important}.ct-add{width:100%;margin-top:15px;min-height:38px;font-size:12px;background:none}.ct-output{padding:21px}.ct-empty-preview{background:var(--zs-bg);border:1px solid var(--zs-border);border-radius:11px;min-height:192px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-bottom:23px;text-align:center}.ct-film-mark{width:66px;height:56px;color:var(--zs-primary);opacity:.7;margin-bottom:10px}.ct-film-mark svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.5}.ct-empty-preview strong{font-size:12px}.ct-empty-preview p{font-size:11px;line-height:1.65;color:var(--zs-text-2);margin-top:5px}.ct-orientation{margin-bottom:15px}.ct-orientation label>span{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;gap:6px;padding:12px 7px;border:1px solid var(--zs-border-2);border-radius:9px;font-size:11px}.ct-orientation small{display:block;width:100%;text-align:center;color:var(--zs-text-2);font-size:10px}.ct-orientation i{border:1.5px solid currentColor;display:inline-block;border-radius:2px}.ct-landscape{width:16px;height:10px}.ct-portrait{width:10px;height:16px}.ct-checkbox{display:flex;align-items:center;gap:8px;font-size:11px;margin:16px 0 7px}.ct-checkbox input{accent-color:var(--vg-accent);width:15px;height:15px}.ct-action-bar{padding:0 1px;display:grid;gap:9px}.ct-action-bar button{width:100%;font-size:13px}.ct-action-bar p{text-align:center;font-size:10px;color:var(--zs-text-2);margin:3px 0 0}.ct-run h3{font-size:15px;margin-top:8px}.ct-run p{margin-top:8px;font-size:12px;color:var(--zs-text-2)}.ct-run progress{width:100%;height:6px;margin-top:15px;accent-color:var(--vg-accent);border-radius:9px}.ct-run-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--zs-text-2);margin-top:4px}.ct-danger{color:var(--zs-danger)}.ct-run .ct-link{font-size:11px;padding-left:0;margin-top:9px}.ct-alert{margin-bottom:18px;padding:14px 17px;background:var(--zs-bg-2);border:1px solid var(--zs-danger);border-radius:11px;font-size:13px;color:var(--zs-danger);overflow-wrap:anywhere}#filmPlayer{width:100%;max-height:410px;border-radius:11px;background:#111;display:block}.ct-result-meta{font-size:11px;color:var(--zs-text-2);padding:9px 0}.ct-downloads{display:flex;align-items:center;gap:10px;margin:0 0 20px}.ct-downloads button{font-size:11px;min-height:38px}.ct-dialog{color:var(--zs-text);background:var(--zs-bg-2);border:1px solid var(--zs-border-2);border-radius:18px;padding:30px;width:calc(100% - 32px);max-width:450px;max-height:85vh;overflow:auto;box-shadow:var(--zs-shadow)}.ct-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.ct-dialog h2{font-size:23px;margin:8px 0}.ct-dialog>p{font-size:12px;color:var(--zs-text-2);margin:9px 0}.ct-close{position:absolute;right:12px;top:9px;border:0;background:none;color:var(--zs-text-2);font-size:25px}.ct-quote-row{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:8px 0}
.ct-quote-row strong{white-space:nowrap}.ct-quote-total{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--zs-border-2);margin-top:10px;padding-top:15px}.ct-quote-total strong{font-size:23px}.ct-dialog>.ct-button{width:100%;margin-top:17px}.ct-history-heading{margin-bottom:22px}.ct-history-heading h2{font-size:20px}.ct-history-heading p{font-size:13px;color:var(--zs-text-2);margin-top:6px}.ct-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ct-history-card{display:flex;flex-direction:column;align-items:start;min-height:160px;padding:20px;border:1px solid var(--zs-border-2);border-radius:14px;background:var(--zs-bg-2);color:var(--zs-text);text-align:left;overflow:hidden}.ct-history-card:hover{border-color:var(--zs-primary)}.ct-history-card img{width:calc(100% + 40px);height:140px;object-fit:cover;margin:-20px -20px 17px}.ct-history-card strong{font-size:15px;overflow-wrap:anywhere}.ct-history-card small{color:var(--zs-text-2);margin-top:6px;font-size:11px}.ct-history-card span{margin-top:auto;padding-top:17px;color:var(--zs-primary);font-size:11px}.ct-history-empty{grid-column:1/-1;padding:60px 20px;text-align:center;border:1px dashed var(--zs-border-2);border-radius:14px;color:var(--zs-text-2)}.ct-toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--zs-text);color:var(--zs-bg);padding:12px 20px;border-radius:11px;box-shadow:var(--zs-shadow);z-index:500;font-size:13px;max-width:90vw}.ct-busy{pointer-events:none;opacity:.6}
@media(min-width:1600px){.ct-layout{grid-template-columns:minmax(0,1fr) 340px;gap:30px}}
@media(max-width:1199px){.cartoon{padding:30px 23px 65px}.ct-layout{grid-template-columns:minmax(0,1fr) 275px;gap:18px}.ct-card{padding:19px}.ct-three{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-three label:last-child{grid-column:1/-1}}
@media(max-width:800px){.ct-layout{grid-template-columns:1fr}.ct-side{position:static}.ct-three{grid-template-columns:repeat(3,minmax(0,1fr))}.ct-three label:last-child{grid-column:auto}.ct-output{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ct-output .ct-section-title{grid-column:1/-1}.ct-output #emptyPreview,.ct-output #resultPanel{grid-column:1;grid-row:2/6}.ct-output .ct-orientation,.ct-output>.ct-label,.ct-output>.ct-checkbox,.ct-output>.ct-help{grid-column:2}.ct-history{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.cartoon{padding:24px 15px 36px}.ct-header{align-items:start;gap:8px}.ct-header h1{font-size:28px;letter-spacing:-.8px}.ct-header p{font-size:12px;max-width:230px}.ct-header>.ct-button{font-size:0;min-width:35px;width:35px;min-height:35px;padding:0}.ct-header>.ct-button span{font-size:20px}.ct-tabs{gap:22px;margin:21px 0 18px}.ct-tabs>button{font-size:12px}.ct-tabs>span{font-size:10px}.ct-card{padding:17px;border-radius:14px;margin-bottom:15px}.ct-section-title{margin-bottom:17px}.ct-three{grid-template-columns:repeat(2,minmax(0,1fr))}.ct-three label:last-child{grid-column:1/-1}.ct-mode{gap:7px}.ct-mode label>span{padding:11px 10px}.ct-mode small{font-size:9px}.ct-brief-footer{gap:9px}.ct-brief-footer .ct-button{padding:10px 12px;font-size:12px;gap:8px}.ct-primary>span{font-size:10px;padding-left:8px}.ct-brief-footer .ct-link{font-size:11px}.ct-output{display:block}.ct-empty-preview{min-height:155px;margin-bottom:18px}.ct-scene{padding:13px}.ct-grid{gap:9px}.ct-grid label{font-size:11px}.ct-scene .ct-grid{grid-template-columns:1fr 1fr}.ct-scene .ct-grid select{padding-left:9px}.ct-action-bar{position:sticky;bottom:calc(var(--zs-tab-h,56px) + env(safe-area-inset-bottom,0px));padding:12px 0;background:var(--zs-bg);z-index:30}.ct-action-bar p{font-size:10px}.ct-history{grid-template-columns:1fr}.ct-toast{bottom:calc(75px + env(safe-area-inset-bottom,0px))}.ct-dialog{padding:25px 21px}.ct-section-title h2{font-size:15px}.ct-muted{font-size:10px}}
@media(prefers-reduced-motion:reduce){.cartoon *{scroll-behavior:auto!important;transition:none!important}}
