.st-maker{--st-green:#176965}.st-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);gap:24px;margin:22px 0}.st-stage{background-color:#f3f6f7;background-image:linear-gradient(45deg,#dfe7e9 25%,transparent 25%),linear-gradient(-45deg,#dfe7e9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dfe7e9 75%),linear-gradient(-45deg,transparent 75%,#dfe7e9 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;border:1px solid #d5e0e4;border-radius:18px;overflow:hidden;aspect-ratio:1;position:relative}.st-stage canvas,.st-stage img{display:block;width:100%;height:100%;object-fit:contain}.st-empty{position:absolute;inset:0;display:grid;place-content:center;padding:24px;text-align:center;color:#586f77;font-size:14px;line-height:1.6}.st-empty[hidden]{display:none}.st-card{padding:18px;border:1px solid #dce5e8;border-radius:14px;background:#fff}.st-card h3{margin:0 0 12px;font-size:17px}.st-card label{margin:12px 0}.st-maker .st-card input[type=range]{width:100%;accent-color:var(--st-green)}.st-preview-label{display:flex;justify-content:space-between;gap:10px;margin:12px 0;color:#597079;font-size:12px}.st-credit{font-size:13px;overflow-wrap:anywhere;padding:12px;border-radius:9px;background:#eef5f4;color:#234f4a}.st-controls{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.st-maker .st-controls button,.st-maker #run,.st-result .button{border-radius:11px;min-height:46px;padding:11px 15px;font:inherit;font-weight:600;line-height:1.4;cursor:pointer;border:1px solid #c7d9d6;background:#f1f7f6;color:#195c57}.st-maker .st-controls .st-play,.st-maker #run,.st-result .button{color:#fff;background:var(--st-green,#176965);border-color:#176965}.st-controls button:disabled,.st-maker #run:disabled{background:#e9eef0;color:#74858b;border-color:#e0e7ea;cursor:default}.st-duration{font-variant-numeric:tabular-nums;font-size:13px;color:#516a74}.st-notice{padding:14px 16px;background:#f4f7f8;border-left:3px solid #6f929b;font-size:13px;line-height:1.6;margin:16px 0}.st-result{max-width:640px}.st-result .st-stage{max-width:320px;margin:18px auto}.st-result .st-actions{display:flex;gap:10px;flex-wrap:wrap}.st-result .st-actions a{text-decoration:none}.st-result details{margin-top:20px;line-height:1.6}.st-result summary{cursor:pointer;font-weight:600}.st-maker button:focus-visible,.st-result a:focus-visible{outline:3px solid #c47a34;outline-offset:3px}.st-progress{font-size:13px;color:#516a74;margin-top:10px}@media(max-width:680px){.st-grid{grid-template-columns:1fr;gap:18px}.st-card{padding:15px}.st-stage{max-width:420px;width:100%;margin-inline:auto}.st-maker #run,.st-result .st-actions a{width:100%;text-align:center}.st-controls button{flex:1;min-width:110px}.st-preview-label{font-size:11px}}

.st-intro{padding:24px 0 10px}.st-intro .st-eyebrow{display:block;letter-spacing:.13em;font-size:10px;font-weight:750;color:#36756b;margin-bottom:10px}.st-intro h2{font-size:clamp(24px,4vw,34px);letter-spacing:-.04em;margin:0 0 10px;line-height:1.15;color:#17353c}.st-intro p{font-size:14px;line-height:1.65;color:#60767f;max-width:540px;margin:0}.st-steps{display:flex;gap:22px;margin-top:20px;flex-wrap:wrap}.st-steps span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#4a636d}.st-steps b{display:grid;place-items:center;width:25px;height:25px;background:#eaf4f1;border:1px solid #d0e3dd;border-radius:50%;font-size:11px;color:#176965}.st-preview-panel{min-width:0}.st-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-size:13px}.st-panel-title strong{color:#264a51;flex-shrink:0}.st-panel-title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:55%;font-size:11px;color:#6d8088}.st-bg-switch{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px 0 20px;font-size:11px;color:#5d727a}.st-maker .st-bg-switch button{font-size:11px;border:1px solid #d1dddf;border-radius:7px;min-height:34px;padding:6px 10px;background:#fff;color:#506972;cursor:pointer}.st-maker .st-bg-switch button[aria-pressed=true]{background:#edf6f3;color:#15564c;border-color:#82b5a5}.st-dark{background-color:#25373e;background-image:linear-gradient(45deg,#32484e 25%,transparent 25%),linear-gradient(-45deg,#32484e 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#32484e 75%),linear-gradient(-45deg,transparent 75%,#32484e 75%)}.st-card+.st-card{margin-top:14px}.st-maker .st-card h3{letter-spacing:-.02em;font-size:16px;border-bottom:1px solid #e8eff1;padding-bottom:13px}.st-maker .st-card .hint{font-size:12px;line-height:1.6;color:#687b83}.st-maker [hidden]{display:none!important}.st-maker .st-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.st-maker .st-controls button{min-width:0;font-size:12px;min-height:45px;line-height:1.4}.st-maker #st-mark-start,.st-maker #st-mark-end{background:#fff;border-color:#d3e1e4;color:#49656e}.st-maker .st-controls button:hover:not(:disabled){border-color:#176965;box-shadow:0 2px 6px #17323912}.st-maker .st-card label{font-size:13px;color:#3e5c66}.st-maker .st-credit{line-height:1.5}.st-maker .st-notice{border-radius:0 10px 10px 0;font-size:12px}.st-result .st-credit{text-align:center}.st-result .st-stage{border-radius:14px}.st-result .st-actions .button{display:flex;align-items:center;justify-content:center;min-height:48px}.st-maker #run{min-height:52px;min-width:230px}.st-maker #st-cancel{min-height:48px;border-radius:11px}.st-maker #st-cancel[hidden]{display:none!important}
@media(max-width:680px){.st-intro{padding-top:12px}.st-steps{gap:12px;justify-content:space-between}.st-steps span{font-size:10px;gap:5px}.st-steps b{width:21px;height:21px}.st-grid{gap:20px}.st-panel-title{margin-top:4px}.st-maker #run{min-width:0}.st-maker .st-card input,.st-maker .st-card select{font-size:16px}}

.st-maker .st-bg-switch{flex-wrap:wrap;gap:8px;margin-bottom:8px}.st-maker .st-bg-switch>span{width:100%;text-align:center}.st-maker .st-bg-switch button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:11px;font-size:12px;font-weight:650;transition:background .15s,border-color .15s}.st-maker .st-bg-switch button[aria-pressed=true]{border:2px solid #176965;padding:9px 13px;background:#e5f3ed;color:#104b42;box-shadow:0 2px 6px #163e2912}.st-maker .st-bg-switch button:hover{border-color:#176965}.st-swatch{width:17px;height:17px;border:1px solid #8c9eaa;border-radius:50%;flex-shrink:0}.st-swatch-light{background:#f8fafc}.st-swatch-dark{background:#25373e}.st-bg-hint{text-align:center;font-size:12px;line-height:1.6;color:#60767f;max-width:380px;margin:0 auto 20px}.st-maker .st-audio-option{display:flex;align-items:center;gap:10px;padding:12px;background:#eef5f4;border:1px solid #d3e3df;border-radius:11px;font-size:13px;line-height:1.5;cursor:pointer;min-height:44px}.st-maker .st-audio-option input{width:18px;height:18px;flex-shrink:0;accent-color:#176965}

/* The video stays attached and visible so mobile browsers decode and display it directly. */
.st-maker .st-stage>.st-source-media{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain;object-position:center;margin:0;background:transparent}.st-maker .st-stage>.st-stage-play{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:2;border:1px solid #d8e7e1;border-radius:999px;padding:11px 18px;min-height:44px;max-width:90%;background:#fff;color:#16554e;font-size:13px;font-weight:650;box-shadow:0 3px 16px #10252c30;cursor:pointer}.st-maker .st-stage>.st-stage-play:hover{background:#e8f4ef}.st-maker .st-empty{background:#f3f6f7e8;z-index:1}.st-maker .st-dark .st-empty{background:#25373ee8;color:#edf4f5}.st-maker .upload{min-height:170px}.st-maker .st-stage{scroll-margin-block:110px}
@media(max-width:680px){.st-maker .upload{min-height:155px}.st-maker .st-stage>.st-stage-play{bottom:12px;font-size:12px}.st-maker .st-stage{scroll-margin-block:90px}}

/* Give the animation more room while keeping the actual WebP dimensions unchanged. */
.st-maker .st-grid{grid-template-columns:minmax(280px,1.35fr) minmax(230px,.85fr);align-items:start}.st-maker .st-preview-panel .st-stage{width:100%;max-width:580px;margin-inline:auto}.st-result{max-width:760px}.st-result .st-stage{width:100%;max-width:480px}.st-maker .st-preview-panel{min-width:0}.st-maker .st-preview-label{font-size:12px}
@media(max-width:820px){.st-maker .st-grid{grid-template-columns:minmax(0,1fr)}.st-maker .st-preview-panel .st-stage{max-width:560px}.st-result .st-stage{max-width:480px}}
@media(max-width:550px){.st-maker .st-preview-panel .st-stage,.st-result .st-stage{max-width:100%;width:100%}}

.st-maker .st-export-card{margin-top:20px}.st-maker .st-export-card input[type=file]{max-width:100%;min-height:44px;padding:10px;background:#f4f7f8;border:1px solid #d3e0e4;border-radius:9px}.st-maker .st-export-card .hint{font-size:12px;line-height:1.7}.st-result>video{display:block;width:100%;max-height:70vh;background:#10252c;margin:18px 0;border-radius:12px}.st-whatsapp-steps{padding-left:22px;line-height:1.75;margin:20px 0}.st-whatsapp-steps li{padding:5px 0}.st-result>.hint{font-size:12px;line-height:1.7}
