@font-face{font-family:Rubik128;src:url('fonts128/Rubik.ttf') format('truetype');font-weight:300 900;font-display:swap}
@font-face{font-family:Heebo128;src:url('fonts128/Heebo.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:NotoHebrew128;src:url('fonts128/NotoSansHebrew.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:NotoArabic128;src:url('fonts128/NotoSansArabic.ttf') format('truetype');font-weight:100 900;font-display:swap}
#textEditor128{flex:none;border:1px solid #43596d;border-radius:8px;padding:5px;background:#182430;min-height:0}
#textEditor128[hidden],#textSettings128[hidden],#textInput128[hidden],#textBox128[hidden],#textLane128[hidden]{display:none!important}
html body #textInput128{display:block;width:100%;height:48px;min-height:40px;max-height:62px;resize:none;margin:0 0 4px;font-size:16px;padding:5px 8px;border:1px solid #62798e;border-radius:6px}
#textTools128{display:flex;gap:3px;direction:ltr;overflow-x:auto;flex:none}
html body #textTools128 button{flex:0 0 35px;width:35px;min-width:35px;min-height:36px;height:36px;padding:2px;font-size:18px}
#textTools128 #textClose128{margin-left:auto}
#textSettings128{max-height:120px;overflow:auto}
#textSettings128>strong{font-size:11px;display:block;margin:4px 2px}
#textControls128{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
html body #textControls128 button{min-height:38px;min-width:44px;padding:4px 8px;font-size:16px}
#textControls128 button small{display:block;font-size:9px;line-height:13px}
#textControls128 .chosen128{border-color:#b9dce9;background:#344c5f}
#textControls128>label{display:grid;grid-template-columns:48px 30px 1fr;align-items:center;gap:4px;flex:1 1 100%;font-size:11px}
html body #textControls128 input[type=range]{min-height:30px;height:30px;padding:0;width:100%;accent-color:#abc9d8}
html body #textControls128 input[type=color]{width:38px;height:36px;min-height:36px;padding:2px}
html body.text-editing128 #mobileTimelineCommands,html body.text-editing128 #mobileToolStrip,html body.text-editing128 .transport #ratio{display:none!important}
html body.text-editing128 #mobileTimelineDeck{max-height:100px;overflow:hidden}
html body.text-editing128 #previewDock{min-height:115px}
html body.text-editing128 #previewDock .monitor{min-height:80px}
html body.text-editing128 #manualTextLayer112{display:none!important}
#textBox128{position:absolute;z-index:14;min-width:24px;min-height:24px;border:1px solid #d2e8f6;pointer-events:none;box-sizing:border-box}
html body #textBox128 button{position:absolute;min-width:24px;min-height:24px;width:24px;height:24px;padding:0;pointer-events:auto;touch-action:none;border-radius:50%;font-size:15px;background:#25394c;border:1px solid #b6ccd9;color:#fff}
html body #textBox128 #textMove128{inset:0;min-width:0;min-height:0;width:100%;height:100%;border:0;border-radius:0;background:transparent}
html body #textBox128 #textResize128{right:-12px;bottom:-12px}
html body #textBox128 #textDelete128{left:-12px;top:-12px;background:#974153}
#textLane128{position:relative;min-height:30px;max-height:62px;overflow-y:auto;overflow-x:clip;direction:ltr}
.text-clip128{position:absolute;height:27px;min-width:12px;background:#573572;border:1px solid #a17fc2;border-radius:4px;box-sizing:border-box}
.text-clip128.selected128{border-color:#ead8ff;background:#704895}
html body .text-clip128 button{height:25px;min-height:25px;border:0;border-radius:0;padding:0;color:#fff;background:transparent;touch-action:none}
html body .text-clip128 .text-clip-body128{display:block;width:100%;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 10px;text-align:start}
html body .text-clip128 .text-edge128{position:absolute;top:0;width:16px;min-width:16px;z-index:1}
.text-edge128:after{content:'';position:absolute;top:5px;bottom:5px;left:7px;width:2px;background:#ead8ff;border-radius:2px}
.text-edge128.start128{left:0}.text-edge128.end128{right:0}
#textControls128 [data-animation128=fade] .text-sample128{animation:textFade128 2s infinite}
#textControls128 [data-animation128=rise] .text-sample128{animation:textRise128 2s infinite}
#textControls128 [data-animation128=pop] .text-sample128,#textControls128 [data-animation128=bounce] .text-sample128{animation:textPop128 2s infinite}
#textControls128 [data-animation128=glow] .text-sample128{text-shadow:0 0 6px #ffe58c}
@keyframes textFade128{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes textRise128{0%,100%{transform:translateY(2px)}50%{transform:translateY(-2px)}}
@keyframes textPop128{0%,100%{transform:scale(.94)}50%{transform:scale(1.03)}}
@media(prefers-reduced-motion:reduce){#textControls128 button{animation:none!important}}
@media(orientation:landscape) and (max-height:600px){body.text-editing128 main{display:flex}body.text-editing128 #previewDock{min-height:65px}body.text-editing128 #mobileTimelineDeck{max-height:70px}}

.text-sample128{display:inline-block}

html body #textBox128 button{min-width:38px;min-height:38px;width:38px;height:38px;font-size:19px}
html body #textBox128 #textMove128{min-width:0;min-height:0;width:100%;height:100%}
html body #textBox128 #textResize128{right:-19px;bottom:-19px;background:#2f6f8f;border-color:#bfe8f7;box-shadow:0 2px 8px #0008}
html body #textBox128 #textDelete128{left:-19px;top:-19px}
html body #textBox128 #textResize128:before,html body #textBox128 #textDelete128:before{content:'';position:absolute;inset:-8px}
html body #textBox128.inset149 #textResize128{right:6px;bottom:6px}
html body #textBox128.inset149 #textDelete128{left:6px;top:6px}
html body #textTools128 #textTools128 svg,#textTools128 button svg{display:block;margin:auto}
#textControls128 [data-animation128] .text-sample128{font-weight:800;font-size:20px;line-height:24px;display:inline-block;transform-origin:center;animation-duration:2.2s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}
#textControls128 [data-animation128=slide] .text-sample128{animation-name:sSlide149}
#textControls128 [data-animation128=zoom] .text-sample128{animation-name:sZoom149}
#textControls128 [data-animation128=typewriter] .text-sample128{animation-name:sType149;animation-timing-function:steps(2,end);overflow:hidden;white-space:nowrap;vertical-align:bottom}
#textControls128 [data-animation128=bounce] .text-sample128{animation-name:sBounce149}
#textControls128 [data-animation128=glow] .text-sample128{animation-name:sGlow149;color:#fff}
#textControls128 [data-animation128=wave] .text-sample128{animation-name:sWave149}
#textControls128 [data-animation128=fade] .text-sample128{animation-name:sFade149}
#textControls128 [data-animation128=rise] .text-sample128{animation-name:sRise149}
#textControls128 [data-animation128=pop] .text-sample128{animation-name:sPop149}
@keyframes sFade149{0%{opacity:0}40%,75%{opacity:1}100%{opacity:0}}
@keyframes sRise149{0%{transform:translateY(10px);opacity:0}40%,75%{transform:none;opacity:1}100%{opacity:0}}
@keyframes sSlide149{0%{transform:translateX(-16px);opacity:0}40%,75%{transform:none;opacity:1}100%{opacity:0}}
@keyframes sPop149{0%{transform:scale(.4);opacity:0}35%{transform:scale(1.15);opacity:1}50%,80%{transform:scale(1)}100%{opacity:0}}
@keyframes sZoom149{0%{transform:scale(1.9);opacity:0}45%,80%{transform:scale(1);opacity:1}100%{opacity:0}}
@keyframes sType149{0%{max-width:0}60%,100%{max-width:2em}}
@keyframes sBounce149{0%,100%{transform:translateY(0)}25%{transform:translateY(-8px)}50%{transform:translateY(0)}70%{transform:translateY(-3px)}}
@keyframes sGlow149{0%,100%{text-shadow:0 0 2px #ffe58c}50%{text-shadow:0 0 12px #ffe58c,0 0 4px #fff}}
@keyframes sWave149{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-4px) rotate(-4deg)}75%{transform:translateY(4px) rotate(4deg)}}

#textTools128 .rainbow149{background:conic-gradient(from 0deg,#ff3b3b,#ffb000,#fff200,#3bd13b,#19d3da,#3b6bff,#b13bff,#ff3bb1,#ff3b3b)!important;border:2px solid #fff6!important;border-radius:50%!important;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;flex:0 0 26px!important;align-self:center;padding:0!important}
#mobileToolStrip [data-work-title="צבע"] b{color:transparent!important;background:conic-gradient(from 0deg,#ff3b3b,#ffb000,#fff200,#3bd13b,#19d3da,#3b6bff,#b13bff,#ff3bb1,#ff3b3b);border-radius:50%;display:inline-block;width:20px;height:20px;line-height:20px;text-shadow:none}
#fontList149{flex:1 1 100%;display:flex;flex-direction:column;gap:4px;max-height:108px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scroll-snap-type:y proximity}
#fontList149 .fontRow149{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:4px 12px;scroll-snap-align:start;direction:ltr}
#fontList149 .fontRow149 small{font-size:11px;opacity:.7;flex:0 0 auto}
#fontList149 .fontRow149 span{font-size:22px;line-height:28px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#colorRuler149{flex:1 1 100%;display:grid;grid-template-columns:1fr 34px;grid-template-rows:auto auto;gap:6px 10px;align-items:center;direction:ltr}
#colorRuler149 .ruler149{position:relative;height:36px;border-radius:18px;border:2px solid #ffffff55;touch-action:none;cursor:pointer;grid-column:1}
#colorRuler149 .ruler149.shade149{height:24px;border-radius:12px}
#colorRuler149 .ruler149 i{position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #000a,0 2px 6px #0008;pointer-events:none;background:#0003}
#colorRuler149>span{grid-column:2;grid-row:1/3;width:34px;height:34px;border-radius:8px;border:2px solid #fff8}
html body.text-editing128 .monitor{touch-action:none}

html body #textBox128 button{min-width:28px;min-height:28px;width:28px;height:28px;font-size:14px}
html body #textBox128 #textMove128{min-width:0;min-height:0;width:100%;height:100%}
html body #textBox128 #textResize128{right:-14px;bottom:-14px}
html body #textBox128 #textDelete128{left:-14px;top:-14px}
html body #textBox128 #textFit149{left:50%;bottom:-14px;margin-left:-14px;background:#2f8f5a;border-color:#c8f3d8;box-shadow:0 2px 8px #0008}
html body #textBox128 #textFit149:after{content:'';position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#fff}
html body #textBox128 #textFit149:before,html body #textBox128 #textResize128:before,html body #textBox128 #textDelete128:before{content:'';position:absolute;inset:-8px}
html body #textBox128.inset149 #textResize128{right:6px;bottom:6px}
html body #textBox128.inset149 #textDelete128{left:6px;top:6px}
html body #textBox128.inset149 #textFit149{bottom:4px}
html body.text-editing128 #previewDock .monitor{height:var(--mon154,auto)!important;min-height:var(--mon154,80px)!important;max-height:none!important}
html body.text-editing128 #previewDock{min-height:0}

/* fx70: with the keyboard up, shrink the monitor so the text controls always stay on screen */
html body.text-editing128 #previewDock .monitor{height:min(var(--mon154,400px),calc(var(--cv-visible-height,100dvh) - 300px))!important;min-height:70px!important;max-height:none!important}
html body.text-editing128 #textEditor128{position:relative;z-index:5;flex:none}
@font-face{font-family:Assistant128;src:url('fonts128/Assistant.ttf') format('truetype');font-weight:200 800;font-display:swap}
@font-face{font-family:FrankRuhl128;src:url('fonts128/FrankRuhlLibre.ttf') format('truetype');font-weight:300 900;font-display:swap}
@font-face{font-family:SecularOne128;src:url('fonts128/SecularOne.ttf') format('truetype');font-weight:400;font-display:swap}
