:root{color-scheme:light;--paper:#f5f2ea;--ink:#252923;--muted:#60695e;--line:#cecec0;--forest:#244f3b;--acid:#c7dc8b;font-family:"Segoe UI",Arial,sans-serif;background:var(--paper);color:var(--ink)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header,main{width:min(1160px,calc(100% - 72px));margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;font-size:18px;font-weight:650;letter-spacing:-.04em}.hebrew{font-size:16px;color:var(--forest)}.mark{position:relative;display:inline-grid;place-items:center;width:31px;height:34px;background:var(--forest);border-radius:4px;transform:rotate(-5deg)}.mark:before,.mark:after{content:"";position:absolute;top:3px;bottom:3px;width:3px;background:repeating-linear-gradient(var(--acid) 0 3px,transparent 3px 7px)}.mark:before{left:3px}.mark:after{right:3px}.mark i{border-left:8px solid var(--acid);border-top:5px solid transparent;border-bottom:5px solid transparent;margin-left:2px}
main{padding:0 0 54px}.intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:33px 0 23px}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.064em;margin:0}h1{font-size:clamp(54px,6.5vw,89px);line-height:1.04}h1 em{color:var(--forest);font-weight:400}h2{font-size:37px}#connection{color:var(--forest);font-size:14px}#connection:before{content:"";display:inline-block;border-radius:50%;background:#56825d;width:8px;height:8px;margin-right:7px}#connection.off:before{background:#b86539}
#editor{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(284px,.85fr);border:1px solid var(--line);border-radius:16px;background:#fcfaf4;overflow:hidden}.visual{min-width:0;display:flex;flex-direction:column;background:#252e29;padding:16px;color:#ced6c9}.drop{position:relative;display:grid;place-items:center;min-height:285px;height:100%;border:1px dashed #758271;border-radius:7px;background:radial-gradient(ellipse at 50% 42%,#364039,#263029 65%);color:#fafbef;overflow:hidden;cursor:pointer}.drop:focus-within,.drop.drag{outline:3px solid var(--acid);outline-offset:2px}.drop input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.upload-ui{display:grid;justify-items:center;gap:8px}.upload-icon{display:grid;place-items:center;border:1px solid #788675;border-radius:50%;width:45px;height:45px;font:25px Georgia;margin-bottom:8px;color:var(--acid)}.upload-ui strong{font:400 26px Georgia}.upload-ui small{color:#d1d9cb}.drop img{position:absolute;height:100%;width:100%;object-fit:contain;background:#1c211d}.has-photo .upload-ui{display:none}#change{position:absolute;bottom:12px;right:12px;padding:7px 12px;background:#202921df;color:white;border-radius:5px;font-size:13px}.file-info{font-size:12px;overflow-wrap:anywhere}.file-info:not(:empty){padding-top:7px}
.controls{padding:28px 28px 24px}.controls>label,.duration label,.pair label{display:block;margin-bottom:9px;font-weight:650;font-size:16px}textarea,input{font:inherit;color:var(--ink)}textarea,.pair input,.seconds{background:#fffefa;border:1px solid #aaaFA2;border-radius:7px}textarea{width:100%;resize:vertical;min-height:106px;padding:13px;line-height:1.45}textarea:focus,input:focus{outline:2px solid #497452;outline-offset:2px}textarea::placeholder{color:#767b71}.hint,.empty{margin:7px 0 18px;font-size:13px;line-height:1.5;color:var(--muted)}.duration{display:flex;align-items:center;justify-content:space-between;gap:12px}.duration label{margin:0}.seconds{display:flex;gap:3px;align-items:center;padding:5px 9px}.seconds input{width:58px;border:0;background:transparent;text-align:center;padding:4px}.seconds span{font-size:13px;color:var(--muted)}button,.download{display:inline-flex;justify-content:space-between;align-items:center;gap:18px;background:var(--forest);color:#fff;border:0;border-radius:7px;padding:13px 17px;min-height:44px;font:600 16px/1.2 "Segoe UI",Arial;cursor:pointer;text-decoration:none}button:hover,.download:hover{background:#163d2a}button:disabled{opacity:.65;cursor:wait}#generate,.pair button{width:100%}.play{font-size:12px;color:var(--acid)}#editor-message:not(:empty),#pair-error:not(:empty){margin-top:14px;font-size:14px;color:#8b4427}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:30px 0 12px;gap:10px}#queue-note{font-size:13px;color:var(--muted)}.clip{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.4fr);align-items:center;gap:24px;padding:18px 0;border-top:1px solid var(--line)}.clip img,.clip video{display:block;width:100%;height:auto;max-height:290px;object-fit:contain;background:#202722;border-radius:8px}.clip h3{font:500 20px/1.4 "Segoe UI",Arial;margin:4px 0 9px;overflow-wrap:anywhere}.clip p{line-height:1.5;margin:5px 0;color:var(--muted);overflow-wrap:anywhere}.clip .state{font-size:13px;color:#365d41;font-weight:650}.download{font-size:14px;padding:10px 14px;margin-top:9px}.clip progress{accent-color:var(--forest);width:100%;max-width:275px}.pair{max-width:415px;margin:9vh auto 0}.pair h1{font-size:clamp(53px,7vw,73px)}.pair p{line-height:1.56;color:var(--muted)}.pair label{margin-top:27px}.pair input{padding:13px;width:100%;font-family:Consolas,monospace;font-size:19px;letter-spacing:.065em;margin-bottom:12px}.textlink{font-size:14px;color:var(--forest);text-underline-offset:4px}#startup{color:var(--muted);margin-top:45px}
@media(max-width:720px){header,main{width:calc(100% - 32px)}header{min-height:59px}.intro{margin:21px 0 16px;align-items:flex-start;flex-direction:column;gap:8px}#editor{grid-template-columns:1fr}.visual{padding:11px}.drop{min-height:203px;aspect-ratio:16/9}.controls{padding:19px}.clip{grid-template-columns:1fr;gap:10px}.section-heading{margin-top:25px}.clip video{max-height:64vh}.pair{margin-top:7vh}.hebrew{font-size:14px}}

