@font-face{font-family:Vazirmatn;src:url(/play/fonts/Vazirmatn.woff2) format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/play/fonts/Fredoka.woff2) format("woff2-variations");font-weight:300 700;font-style:normal;font-display:swap}:root{font-family:Vazirmatn,system-ui,-apple-system,Segoe UI,Tahoma,sans-serif;line-height:1.5;color-scheme:light}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{background:#f4f4f7;color:#222}.app{display:grid;grid-template-columns:240px 1fr 480px;grid-template-rows:56px 1fr;grid-template-areas:"header header header" "toolbox workspace stage";height:100vh;gap:1px;background:#d8d8e0}.app.view-split{grid-template-columns:220px 1fr 420px}.app.view-split .code-preview{height:50%}.app.view-code{grid-template-columns:220px 1fr 420px}.app.view-code .workspace-svg-wrap{display:none}.app.view-code .code-preview{height:calc(100vh - 96px)}.app.view-presentation{grid-template-columns:0 0 1fr}.app.view-presentation .toolbox,.app.view-presentation .workspace{display:none}.app.view-presentation .stage{background:linear-gradient(135deg,#1a1a3a,#2c2c5a);display:flex;flex-direction:column;align-items:center;justify-content:center}.app.view-presentation .stage>h2{color:#fff;display:none}.app.view-presentation .scene-row,.app.view-presentation .customize-toggle,.app.view-presentation .customize-panel,.app.view-presentation .sprite-list,.app.view-presentation .speed-row{display:none!important}.app.view-presentation .stage-frame{width:min(80vw,960px,100vh);border-radius:14px;box-shadow:0 12px 40px #0006}.app.view-presentation .stage-canvas{border-width:4px;border-color:#f7d774;border-radius:14px}.app.view-presentation .stage-controls{background:#0000004d;padding:8px;border-radius:10px;width:auto;max-width:600px}.app.tier-first-step .toolbox-item{font-size:16px!important;padding:10px 14px!important}.app.tier-first-step .workspace-svg{font-size:16px}.app-header{grid-area:header;background:linear-gradient(135deg,#2c2c5a,#4c4c8a,#6a4c8a);color:#fff;display:flex;align-items:center;gap:12px;padding:0 16px;box-shadow:0 1px 4px #00000026}.app-title{margin:0;font-size:19px;font-weight:800;display:flex;align-items:center;gap:8px}.title-logo{font-size:16px;background:#ffffff26;padding:2px 8px;border-radius:6px;letter-spacing:-1px}.app-tag{font-size:12px;font-weight:700;color:#f7d774;background:#f7d77426;padding:3px 10px;border-radius:4px;letter-spacing:.5px}.profile-pill{font-size:12px;font-weight:700;color:#fff;background:#ffffff1f;padding:4px 12px;border-radius:14px;cursor:pointer;border:1.5px solid rgba(255,255,255,.2);transition:background .12s}.profile-pill:hover{background:#ffffff38}.help-btn{padding:6px 14px;background:#ffffff26;color:#fff;border:1.5px solid rgba(255,255,255,.25);border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .12s}.help-btn:hover{background:#ffffff47}.header-actions{margin-inline-start:auto;display:flex;align-items:center;gap:8px}.save-status{font-size:11px;color:#ffffffb3;padding:3px 8px;background:#ffffff14;border-radius:4px}.head-btn{padding:6px 12px;background:#ffffff1f;color:#fff;border:1.5px solid rgba(255,255,255,.2);border-radius:6px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .12s}.head-btn:hover:not(:disabled){background:#ffffff38}.head-btn:disabled{opacity:.4;cursor:not-allowed}.head-btn.icon-btn{padding:6px 9px;font-size:14px;font-weight:800;min-width:28px}.view-mode-group{display:flex;gap:2px;background:#0003;padding:3px;border-radius:7px}.view-btn{padding:5px 9px;background:transparent;color:#ffffffb3;border:none;border-radius:5px;font-size:11px;font-weight:700;cursor:pointer;font-family:inherit;transition:all .12s}.view-btn:hover{background:#ffffff14;color:#fff}.view-btn.active{background:#f7d774f2;color:#2c2c5a}.undo-group{display:flex;gap:2px;background:#00000026;padding:2px;border-radius:6px}.tier-btn.active{background:#f7d77440;color:#f7d774;border-color:#f7d77466}.story-mode-btn{background:linear-gradient(135deg,#c084fc,#f59e0b);border-color:#ffffff4d;font-weight:800}.story-mode-btn:hover:not(:disabled){filter:brightness(1.1)}.panel{background:#fafafa;padding:12px;overflow:auto}.toolbox{grid-area:toolbox}.workspace{grid-area:workspace;background:#fff;display:flex;flex-direction:column;overflow:hidden;padding:0}.workspace>h2{padding:12px 12px 4px;margin:0}.workspace-svg-wrap{flex:1;overflow:auto;position:relative;min-height:0}.workspace-svg{width:100%;height:100%;display:block;font-family:inherit;touch-action:none}body.dragging,body.dragging *{cursor:grabbing!important}.stage{grid-area:stage;display:flex;flex-direction:column}.panel h2{margin:0 0 8px;font-size:13px;font-weight:600;color:#555;letter-spacing:.5px}.placeholder{color:#999;font-size:13px;margin:0}.stage-canvas-placeholder{flex:1;margin-top:8px;border:1px dashed #c0c0cc;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#999;font-size:13px;background:#fff}.block-input{width:100%;height:100%;text-align:center;font-size:13px;font-weight:600;border:1px solid rgba(0,0,0,.18);border-radius:11px;background:#fffffff7;color:#222;font-family:inherit;padding:0 4px;box-sizing:border-box;outline:none;cursor:text;-moz-appearance:textfield}.block-fx-btn{width:18px;height:18px;background:#ffffffd9;color:#4c4c8a;border:1px solid rgba(0,0,0,.18);border-radius:9px;font-size:9px;font-weight:800;font-family:inherit;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;font-style:italic;line-height:1}.block-mic-btn{width:20px;height:18px;background:#fffffff2;border:1px solid rgba(0,0,0,.18);border-radius:9px;font-size:11px;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;line-height:1}.block-mic-btn:hover{background:#fff}.block-mic-btn.listening{background:#fee2e2;border-color:#dc2626;animation:mic-pulse 1s ease-in-out infinite}@keyframes mic-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.block-fx-btn:hover{background:#fff;color:#c084fc}.block-expr-pill{width:100%;height:100%;background:linear-gradient(135deg,#c084fc,#a855f7);color:#fff;border:none;border-radius:11px;font-size:11px;font-weight:700;font-family:inherit;cursor:pointer;padding:0 6px;display:flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px #a855f766}.block-expr-pill:hover{filter:brightness(1.08)}.expr-popover{background:#fff;border:2px solid #c084fc;border-radius:10px;padding:10px;box-shadow:0 8px 24px #00000040;width:240px;display:flex;flex-direction:column;gap:8px;font-family:inherit}.expr-tabs{display:flex;gap:3px;background:#f0f0f5;padding:3px;border-radius:6px}.expr-tab{flex:1;padding:5px 6px;background:transparent;border:none;border-radius:4px;font-size:11px;font-weight:700;cursor:pointer;font-family:inherit;color:#555}.expr-tab.active{background:#fff;color:#4c4c8a;box-shadow:0 1px 3px #0000001a}.expr-body{min-height:32px}.expr-input{width:100%;padding:7px 10px;border:1.5px solid #d0d0dc;border-radius:5px;font-size:13px;font-weight:600;font-family:inherit;outline:none;text-align:center}.expr-input.small{width:60px}.expr-input:focus{border-color:#c084fc}.expr-rand{display:flex;align-items:center;gap:6px;justify-content:center;font-size:12px;font-weight:700;color:#555}.expr-empty{text-align:center;font-size:11px;color:#999;padding:8px}.expr-actions{display:flex;gap:6px}.expr-cancel,.expr-apply{flex:1;padding:6px 10px;border:none;border-radius:5px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit}.expr-cancel{background:#f0f0f5;color:#555}.expr-apply{background:#4c4c8a;color:#fff}.expr-apply:hover{filter:brightness(1.1)}.expr-cancel:hover{background:#e7e7f0}.block-input:focus{border-color:#ffd000;box-shadow:0 0 0 2px #ffd00080}.block-input::-webkit-inner-spin-button,.block-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.block-input-text{text-align:center;font-weight:600}.block-select{width:100%;height:100%;text-align:center;font-size:12px;font-weight:600;border:1px solid rgba(0,0,0,.18);border-radius:11px;background:#fffffff7;color:#222;font-family:inherit;padding:0 4px;box-sizing:border-box;outline:none;cursor:pointer;-moz-appearance:none;appearance:none;-webkit-appearance:none}.block-select:focus{border-color:#ffd000;box-shadow:0 0 0 2px #ffd00080}@media(max-width:900px),(max-height:600px){.app,.app.view-split,.app.view-code{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;grid-template-areas:"header" "stage" "toolbox" "workspace";height:auto;min-height:100%;overflow-y:auto;overflow-x:hidden}.app-header{position:sticky;top:0;z-index:30;flex-wrap:wrap;gap:8px;padding:max(8px,env(safe-area-inset-top)) 12px 8px;min-height:56px}.header-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;row-gap:4px}.help-btn,.profile-pill{min-height:40px}.stage{padding:10px 12px;border-bottom:2px solid #d8d8e0}.app .stage-frame{width:min(480px,calc(100vw - 48px))}.toolbox{max-height:42vh;overflow-y:auto;border-bottom:2px solid #d8d8e0}.workspace{min-height:64vh}.workspace-svg-wrap{min-height:60vh}.app.view-split .code-preview,.app.view-code .code-preview{height:auto;min-height:240px}.app.view-code .workspace{min-height:0}}@media(max-width:520px){.app-title{font-size:16px}.app-tag{display:none}.app-header{padding-bottom:8px}}@media(orientation:landscape)and (max-height:600px){.app-header{padding:max(4px,env(safe-area-inset-top)) 10px 4px;min-height:40px;gap:6px}.help-btn,.profile-pill{min-height:30px;padding-top:3px;padding-bottom:3px}.stage{padding:6px 12px}.ctl-btn{padding:6px 8px}.app:not(.view-presentation) .stage-container{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:8px}.app:not(.view-presentation) .stage-controls{width:auto;flex:1 1 250px;margin-bottom:6px}.app:not(.view-presentation) .speed-row{width:auto;flex:1 1 220px;margin-bottom:6px}.app .stage-frame{width:min(480px,calc(100vw - 48px),calc((100vh - 110px) * 4 / 3))}.scene-row,.customize-toggle{margin-top:6px}}.toolbox-content{display:flex;flex-direction:column;gap:14px;padding-bottom:12px}.toolbox-category-name{color:#fff;font-weight:700;font-size:12px;padding:6px 10px;border-radius:6px;margin-bottom:6px;text-align:center;letter-spacing:.3px}.toolbox-blocks{display:flex;flex-direction:column;gap:4px}.toolbox-item{display:block;width:100%;border:1px solid;color:#fff;font-size:12px;font-weight:600;padding:8px 10px;border-radius:4px;cursor:pointer;text-align:right;font-family:inherit;transition:filter .15s,transform .05s;line-height:1.3}.toolbox-item:hover{filter:brightness(1.08)}.toolbox-item:active{filter:brightness(.92);transform:translateY(1px)}.toolbox-item:disabled{opacity:.5;cursor:not-allowed}.toolbox-vars{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;padding:6px;background:#fff5e6;border-radius:6px}.var-add-btn{padding:6px 10px;background:#ff8c1a;color:#fff;border:none;border-radius:5px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .12s}.var-add-btn:hover:not(:disabled){filter:brightness(1.08)}.var-add-btn:disabled{opacity:.5;cursor:not-allowed}.var-empty{margin:4px 0 0;font-size:11px;color:#b07a30;text-align:center}.var-pill{display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #ffce8c;border-radius:11px;padding:3px 8px;font-size:12px}.var-name{font-weight:700;color:#333;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.var-value{color:#ff8c1a;font-weight:700;font-variant-numeric:tabular-nums}.var-delete{width:18px;height:18px;border:none;background:transparent;color:#999;cursor:pointer;font-size:14px;line-height:1;padding:0;border-radius:4px;display:flex;align-items:center;justify-content:center;font-family:inherit}.var-delete:hover:not(:disabled){background:#ffebeb;color:#ec5959}.var-delete:disabled{opacity:.3;cursor:not-allowed}.speed-slider{--ss-fill: #38bdf8;--ss-empty: rgba(148, 163, 184, .35);display:flex;align-items:center;gap:10px;padding:4px 8px;-webkit-user-select:none;user-select:none}.speed-slider .ss-end{font-size:20px;line-height:1;flex:0 0 auto}.speed-slider .ss-slow{filter:saturate(.9)}.speed-slider .ss-track-wrap{flex:1 1 auto;min-width:200px;display:flex;align-items:center}.speed-slider .ss-range{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:10px;border-radius:999px;outline:none;cursor:pointer}.speed-slider .ss-range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #0ea5e9;box-shadow:0 1px 4px #0000004d;cursor:grab;transition:transform .08s ease}.speed-slider .ss-range::-webkit-slider-thumb:active{cursor:grabbing;transform:scale(1.15)}.speed-slider .ss-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #0ea5e9;box-shadow:0 1px 4px #0000004d;cursor:grab}.speed-slider .ss-value{flex:0 0 auto;min-width:34px;text-align:center;font-weight:700;font-size:13px;color:#0ea5e9;font-variant-numeric:tabular-nums}@media(max-width:520px){.speed-slider{gap:6px;padding:4px}.speed-slider .ss-track-wrap{min-width:120px}}.imed-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.imed-modal{background:#fff;border-radius:18px;width:min(440px,94vw);max-height:92vh;overflow:auto;box-shadow:0 20px 60px #00000059;padding:16px;display:flex;flex-direction:column;gap:12px}.imed-head{display:flex;align-items:center;justify-content:space-between}.imed-head h3{margin:0;font-size:18px;color:#0f172a}.imed-x{border:none;background:#f1f5f9;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:15px}.imed-stage{position:relative;display:flex;justify-content:center}.imed-checker{position:relative;--c: #e2e8f0;background-color:#fff;background-image:linear-gradient(45deg,var(--c) 25%,transparent 25%),linear-gradient(-45deg,var(--c) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--c) 75%),linear-gradient(-45deg,transparent 75%,var(--c) 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;border-radius:12px;padding:6px;border:1px solid #e2e8f0}.imed-canvas{display:block;max-width:360px;max-height:360px;width:auto;height:auto;touch-action:none;border-radius:6px}.imed-overlay-canvas{position:absolute;top:6px;left:6px;max-width:360px;max-height:360px;width:auto;height:auto;border-radius:6px;pointer-events:none}.imed-loading{position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffffeb;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;text-align:center}.imed-spinner{width:38px;height:38px;border:4px solid #e2e8f0;border-top-color:#0ea5e9;border-radius:50%;animation:imed-spin .8s linear infinite}@keyframes imed-spin{to{transform:rotate(360deg)}}.imed-loadtxt{font-weight:700;color:#0f172a}.imed-progress{width:70%;height:8px;background:#e2e8f0;border-radius:999px;overflow:hidden}.imed-progress-fill{height:100%;background:#0ea5e9;transition:width .2s ease}.imed-subhint{font-size:12px;color:#64748b}.imed-ask{position:absolute;top:0;right:0;bottom:0;left:0;background:#fffffff0;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center}.imed-ask-title{font-weight:800;font-size:16px;color:#0f172a}.imed-ask-btns{display:flex;flex-direction:column;gap:8px;width:100%;max-width:260px}.imed-ask-btns .imed-btn{width:100%}.imed-hint{text-align:center;font-size:13px;color:#64748b}.imed-err{text-align:center;font-size:13px;color:#b91c1c;background:#fef2f2;padding:6px;border-radius:8px}.imed-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}.imed-tools[data-disabled=true]{opacity:.4;pointer-events:none}.imed-tool{border:2px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:7px 12px;cursor:pointer;font-size:14px;font-weight:600}.imed-tool.active{border-color:#0ea5e9;background:#e0f2fe;color:#0369a1}.imed-brush{display:flex;align-items:center;gap:6px;font-size:12px;color:#475569}.imed-brush input{width:90px}.imed-actions{display:flex;align-items:center;gap:8px}.imed-spacer{flex:1}.imed-btn{border:none;border-radius:10px;padding:9px 14px;cursor:pointer;font-size:14px;font-weight:700}.imed-btn.ghost{background:#f1f5f9;color:#334155}.imed-btn.cancel{background:#f1f5f9;color:#64748b}.imed-btn.done{background:#10b981;color:#fff}.imed-btn:disabled{opacity:.5;cursor:not-allowed}.stage-container{display:flex;flex-direction:column;align-items:center;flex-shrink:0}.stage-controls{display:flex;gap:6px;margin-bottom:8px;width:100%}.ctl-btn{flex:1;padding:10px 8px;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .1s,transform .05s}.ctl-btn:hover:not(:disabled){filter:brightness(1.08)}.ctl-btn:active:not(:disabled){transform:translateY(1px)}.ctl-btn:disabled{opacity:.5;cursor:not-allowed}.run-btn{background:#4caf50;color:#fff}.stop-btn{background:#ec5959;color:#fff}.reset-btn{background:#6c757d;color:#fff}.speed-row{display:flex;gap:4px;align-items:center;margin-bottom:10px;width:100%;padding:4px 6px;background:#f0f0f5;border-radius:6px}.speed-label{font-size:12px;color:#555;font-weight:600;margin-left:4px}.speed-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 8px;border:1.5px solid transparent;background:#fff;color:#444;border-radius:5px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:all .12s}.speed-btn:hover{background:#f7f7fa}.speed-btn.active{background:#4c4c8a;color:#fff;border-color:#2c2c6a}.speed-emoji{font-size:16px}.stage-vars{position:absolute;top:8px;inset-inline-start:8px;display:flex;flex-direction:column;gap:4px;z-index:5}.stage-var{background:#ffffffeb;border:1.5px solid rgba(0,0,0,.15);border-radius:6px;padding:3px 8px;font-size:12px;font-weight:700;color:#2c2c5a;display:flex;align-items:center;gap:6px;box-shadow:0 2px 4px #0000001f}.stage-var-name{color:#555;font-weight:600}.stage-var-value{background:#ff8c1a;color:#fff;padding:1px 8px;border-radius:10px;font-weight:800}.stage-list{flex-direction:column;align-items:stretch;gap:2px;padding:5px 8px;max-width:140px}.stage-list .stage-var-name{color:#2c2c5a;font-weight:800;font-size:11px;margin-bottom:2px}.stage-list-items{display:flex;flex-direction:column;gap:1px;max-height:120px;overflow-y:auto}.stage-list-item{display:flex;gap:6px;background:#f0fdfa;padding:1px 6px;border-radius:3px;font-size:11px;font-weight:600}.stage-list-idx{color:#06b6d4;font-weight:800;min-width:16px}.empty-list{font-size:10px;color:#999;font-style:italic}.stage-frame{position:relative;width:480px;aspect-ratio:4 / 3;flex-shrink:0;overflow:hidden}.stage-canvas{position:relative;background:#fcfcfc;border:2px solid #c0c0cc;border-radius:8px;overflow:hidden;flex-shrink:0;cursor:default}.narrator-band{position:absolute;inset-inline-start:12px;inset-inline-end:12px;bottom:12px;background:#140e24eb;color:#f7d774;border-radius:10px;padding:10px 14px;display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:600;line-height:1.5;box-shadow:0 4px 14px #0000004d;border:1.5px solid rgba(247,215,116,.3);animation:narrator-in .25s cubic-bezier(.2,.9,.4,1.2);pointer-events:none}@keyframes narrator-in{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.narrator-icon{font-size:22px;line-height:1;flex-shrink:0}.narrator-text{flex:1;color:#fafafa}.scene-row{width:100%;margin-top:8px;display:flex;flex-direction:column;gap:6px}.scene-toggle{width:100%;padding:8px 12px;background:linear-gradient(135deg,#4c4c8a,#6a4c8a);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .12s;text-align:start}.scene-toggle:hover:not(:disabled){filter:brightness(1.08)}.scene-toggle:disabled{opacity:.4;cursor:not-allowed}.scene-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:6px;background:#fff;border:1.5px solid #e1e1ea;border-radius:8px}.scene-btn{height:56px;border:2px solid transparent;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-family:inherit;position:relative;overflow:hidden}.scene-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffffa6;z-index:0}.scene-btn:hover{border-color:#c0c0e8}.scene-btn.active{border-color:#4c4c8a;box-shadow:0 0 0 2px #4c4c8a40}.scene-emoji{font-size:18px;line-height:1;position:relative;z-index:1}.scene-label{font-size:10px;font-weight:700;color:#1a1a3a;position:relative;z-index:1}.stage-grid{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(rgba(0,0,0,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,.03) 1px,transparent 1px);background-size:24px 24px}.sprite-group{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.stage-vars{position:absolute;top:8px;inset-inline-start:8px;display:flex;flex-direction:column;gap:4px;z-index:10}.stage-var{display:flex;align-items:center;gap:6px;background:#fffffff2;border:1.5px solid #ff8c1a;border-radius:6px;padding:3px 10px;font-size:13px;box-shadow:0 1px 3px #0000001a}.stage-var-name{color:#333;font-weight:700}.stage-var-value{color:#fff;background:#ff8c1a;font-weight:700;padding:1px 8px;border-radius:10px;font-variant-numeric:tabular-nums;min-width:24px;text-align:center}.sprite{position:absolute;font-size:48px;line-height:1;-webkit-user-select:none;user-select:none;pointer-events:none}.sprite-img{width:60px;height:60px;object-fit:contain;display:block;pointer-events:none;-webkit-user-select:none;user-select:none}.custom-img-row{display:flex;gap:6px;align-items:center}.custom-img-btn{flex:1;padding:7px 10px;background:#4caf50;color:#fff;border:none;border-radius:5px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;text-align:center;display:inline-block}.custom-img-btn:hover{filter:brightness(1.1)}.custom-img-clear{padding:7px 10px;background:#ec5959;color:#fff;border:none;border-radius:5px;font-size:11px;font-weight:700;cursor:pointer;font-family:inherit}.custom-img-clear:hover{filter:brightness(1.1)}.custom-img-preview{display:flex;justify-content:center;background:#f7f7fa;padding:6px;border-radius:6px;border:1.5px dashed #d0d0dc}.custom-img-preview img{max-width:100px;max-height:100px;object-fit:contain}.sprite.active-sprite:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border:2px dashed rgba(76,151,255,.5);border-radius:50%;pointer-events:none}.sprite-name-tag{position:absolute;transform:translate(-50%);font-size:12px;font-weight:700;color:#4c4c8a;background:#ffffffd9;padding:1px 8px;border-radius:10px;pointer-events:none;white-space:nowrap;box-shadow:0 1px 2px #00000014}.say-bubble{position:absolute;background:#fff;border:2px solid #333;border-radius:14px;padding:6px 14px;font-size:14px;font-weight:600;color:#222;pointer-events:none;white-space:nowrap;box-shadow:0 2px 6px #00000026}.say-bubble:before{content:"";position:absolute;bottom:-10px;left:18px;width:0;height:0;border:5px solid transparent;border-top-color:#333}.say-bubble:after{content:"";position:absolute;bottom:-7px;left:19px;width:0;height:0;border:4px solid transparent;border-top-color:#fff}.customize-toggle{margin-top:10px;width:100%;padding:8px 10px;background:linear-gradient(135deg,#ff9ec7,#c084fc);color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .12s}.customize-toggle:hover:not(:disabled){filter:brightness(1.06)}.customize-toggle:disabled{opacity:.4;cursor:not-allowed}.customize-panel{width:100%;margin-top:8px;padding:10px;background:#fff;border:1.5px solid #e1e1ea;border-radius:8px;display:flex;flex-direction:column;gap:10px;box-shadow:0 2px 4px #0000000a}.cz-row{display:flex;align-items:center;gap:8px}.cz-row.cz-col{flex-direction:column;align-items:stretch;gap:6px}.cz-label{font-size:12px;font-weight:600;color:#555;flex:0 0 auto;min-width:50px}.cz-name{flex:1;padding:5px 10px;font-size:13px;font-weight:600;font-family:inherit;border:1.5px solid #d0d0dc;border-radius:5px;outline:none;text-align:right}.cz-name:focus{border-color:#c084fc}.char-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.char-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 2px;background:#f7f7fa;border:1.5px solid transparent;border-radius:6px;cursor:pointer;font-family:inherit;transition:all .12s}.char-btn:hover{background:#eef0fa}.char-btn.active{background:#fff;border-color:#c084fc;box-shadow:0 0 0 2px #c084fc40}.char-emoji{font-size:24px;line-height:1}.char-label{font-size:10px;color:#555;font-weight:600}.cz-hue{flex:1;cursor:pointer}.cz-hue-preview{font-size:22px;flex:0 0 auto;width:28px;text-align:center}.cz-size-preview{font-size:11px;font-weight:700;color:#555;flex:0 0 auto;width:36px;text-align:center}.help-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1414288c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;animation:help-fade .18s ease}@keyframes help-fade{0%{opacity:0}to{opacity:1}}.help-modal{background:#fff;border-radius:12px;width:min(680px,100%);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000059;overflow:hidden;animation:help-pop .22s cubic-bezier(.2,.9,.4,1.2)}@keyframes help-pop{0%{transform:scale(.92) translateY(8px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.help-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(135deg,#4c4c8a,#6a4c8a);color:#fff;flex-shrink:0;flex-wrap:wrap;gap:8px}.help-tabs{display:flex;gap:3px;background:#0000002e;padding:3px;border-radius:7px}.help-aud-btn{padding:5px 12px;border:none;background:transparent;color:#ffffffbf;font-size:12px;font-weight:700;border-radius:5px;cursor:pointer;font-family:inherit;transition:all .12s}.help-aud-btn:hover{background:#ffffff14;color:#fff}.help-aud-btn.active{background:#f7d774;color:#2c2c5a}.help-lang-switch{display:flex;gap:4px;background:#ffffff26;padding:3px;border-radius:6px}.help-lang-btn{padding:5px 14px;border:none;background:transparent;color:#fff;font-size:13px;font-weight:600;border-radius:4px;cursor:pointer;font-family:inherit;transition:background .12s}.help-lang-btn:hover{background:#ffffff1a}.help-lang-btn.active{background:#fff;color:#4c4c8a}.help-close{width:32px;height:32px;border:none;background:#ffffff26;color:#fff;font-size:24px;font-weight:400;line-height:1;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s}.help-close:hover{background:#ffffff4d}.help-body{padding:24px 28px;overflow-y:auto;flex:1}.help-content h1{margin:0 0 8px;font-size:22px;color:#2c2c5a;font-weight:800}.help-content h2{margin:22px 0 8px;font-size:16px;color:#4c4c8a;font-weight:700}.help-content p{margin:6px 0;font-size:14px;line-height:1.7;color:#333}.help-lead{background:#f7f3ff;border-right:4px solid #c084fc;padding:10px 14px;border-radius:6px;margin:8px 0 0!important}.help-modal[dir=ltr] .help-lead{border-right:none;border-left:4px solid #c084fc}.help-steps{padding-inline-start:20px;margin:4px 0}.help-steps li{font-size:14px;line-height:1.8;color:#333;margin-bottom:8px}.help-list{padding-inline-start:20px;margin:4px 0}.help-list li{font-size:14px;line-height:1.8;color:#333;margin-bottom:4px}.help-content em{font-style:normal;background:#fff7d9;padding:1px 6px;border-radius:3px;color:#6a4c00;font-weight:600}.help-content strong{color:#2c2c5a}.help-code{background:#2c2c4a;color:#f7f7fa;padding:14px 18px;border-radius:8px;font-family:Vazirmatn,ui-monospace,Courier New,monospace;font-size:13px;line-height:1.7;margin:8px 0;white-space:pre-wrap;direction:ltr;text-align:start}.help-modal[dir=rtl] .help-code{direction:ltr;text-align:left}.help-table{width:100%;border-collapse:collapse;margin:8px 0;font-size:13px}.help-table th,.help-table td{padding:7px 10px;text-align:start;border-bottom:1px solid #e8e8f0}.help-table th{background:#f0f0fa;color:#2c2c5a;font-weight:700;font-size:12px}.help-table td{color:#333}.help-table strong{color:#4c4c8a}.block-ref{background:#faf9ff;border-inline-start:4px solid #c084fc;padding:8px 12px;border-radius:6px;margin:6px 0;display:flex;flex-direction:column;gap:4px}.block-ref-name{font-size:13px;font-weight:800;color:#2c2c5a}.block-ref-desc{font-size:12px;color:#555;line-height:1.6}.block-ref-py{display:inline-block;background:#1e1e2e;color:#a6e3a1;font-family:Vazirmatn,ui-monospace,Consolas,monospace;font-size:12px;padding:4px 10px;border-radius:4px;direction:ltr;text-align:left;align-self:start;white-space:pre}.qs-step{display:flex;gap:14px;margin:18px 0;padding:16px;background:linear-gradient(135deg,#faf5ff,#fff);border-radius:12px;border-inline-start:4px solid #c084fc}.qs-step-num{flex-shrink:0;width:38px;height:38px;background:linear-gradient(135deg,#c084fc,#f59e0b);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:900}.qs-step-body{flex:1;min-width:0}.qs-step-body h3{margin:4px 0 10px;font-size:17px;color:#2c2c5a;font-weight:800}.qs-step-body p{margin:6px 0;font-size:13px;line-height:1.7}.qs-step-body ol{margin:6px 0;padding-inline-start:22px}.qs-step-body ol li{font-size:13px;line-height:1.85;color:#333;margin-bottom:3px}.qs-step-body em{background:#fff7d9;padding:1px 6px;border-radius:3px;color:#6a4c00;font-weight:600;font-style:normal}.qs-result{background:#f0fdf4!important;border-inline-start:3px solid #16a34a;padding:8px 12px;border-radius:5px;margin-top:8px!important}.qs-result strong{color:#14532d}.qs-learn{background:#fef3c7!important;border-inline-start:3px solid #f59e0b;padding:8px 12px;border-radius:5px}.qs-learn strong{color:#78350f}.qs-pyhint{margin-top:10px;padding:12px 14px;background:#1e1e2e;color:#f7f7fa;border-radius:8px;font-size:12px;line-height:1.7}.qs-pyhint strong{color:#f7d774}.qs-pyhint pre{background:#0000004d;padding:8px 10px;border-radius:5px;margin:8px 0 6px;font-family:Vazirmatn,ui-monospace,monospace;color:#a6e3a1;direction:ltr;text-align:left;white-space:pre;font-size:11px;overflow-x:auto}.sprite-list{margin-top:10px;padding:10px;background:#fff;border:1.5px solid #e1e1ea;border-radius:8px;display:flex;flex-direction:column;gap:8px;min-height:0;flex-shrink:0}.sprite-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.sprite-list-header h3{margin:0;font-size:13px;color:#555;font-weight:700}.sprite-add-btn{padding:5px 12px;background:#4caf50;color:#fff;border:none;border-radius:5px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .12s}.sprite-add-btn:hover:not(:disabled){filter:brightness(1.08)}.sprite-add-btn:disabled{opacity:.4;cursor:not-allowed}.sprite-cards{display:flex;gap:6px;flex-wrap:wrap;max-height:130px;overflow-y:auto;padding:2px}.sprite-card{position:relative;width:72px;height:88px;background:#f7f7fa;border:2px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px;cursor:pointer;transition:all .12s;overflow:hidden}.sprite-card:hover{background:#eef0fa}.sprite-card.active{background:#fff;border-color:#4c97ff;box-shadow:0 0 0 2px #4c97ff40}.sprite-card-emoji{font-size:28px;line-height:1.2;margin-top:2px}.sprite-card-name{font-size:11px;font-weight:700;color:#333;text-align:center;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.sprite-card-actions{position:absolute;top:2px;inset-inline-start:2px;display:flex;flex-direction:column;gap:2px;opacity:0;transition:opacity .12s}.sprite-card:hover .sprite-card-actions,.sprite-card.active .sprite-card-actions{opacity:1}.sprite-card-btn{width:22px;height:22px;border:none;background:#ffffffeb;border-radius:4px;font-size:11px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px #00000026;transition:background .1s;padding:0;font-family:inherit}.sprite-card-btn:hover:not(:disabled){background:#fff}.sprite-card-btn:disabled{opacity:.3;cursor:not-allowed}.sprite-card-btn.delete:hover:not(:disabled){background:#ffebeb}.welcome-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e24b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1100;display:flex;align-items:center;justify-content:center;padding:20px;animation:welcome-fade .2s ease}@keyframes welcome-fade{0%{opacity:0}to{opacity:1}}.welcome-modal{position:relative;background:#fff;border-radius:14px;width:min(740px,100%);max-height:92vh;overflow-y:auto;box-shadow:0 24px 70px #00000073;animation:welcome-pop .28s cubic-bezier(.2,.9,.4,1.2)}@keyframes welcome-pop{0%{transform:scale(.93) translateY(10px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.welcome-close{position:absolute;top:12px;inset-inline-end:12px;width:32px;height:32px;border:none;background:#00000014;color:#333;font-size:24px;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2}.welcome-close:hover{background:#0000002e}.welcome-hero{background:linear-gradient(135deg,#4c4c8a,#6a4c8a,#d97706);color:#fff;padding:28px 28px 24px;text-align:center;border-radius:14px 14px 0 0}.welcome-logo{font-size:38px;margin-bottom:4px}.welcome-hero h1{margin:0;font-size:32px;font-weight:800}.welcome-tagline{margin:4px 0 8px;font-size:17px;font-weight:700;color:#f7d774;letter-spacing:.5px}.welcome-sub{margin:0;font-size:13px;font-weight:500;color:#ffffffe0;line-height:1.7}.welcome-sub strong{color:#f7d774}.welcome-section{padding:22px 28px 8px}.welcome-section h2{margin:0 0 12px;font-size:16px;font-weight:700;color:#2c2c5a}.welcome-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.welcome-section-head h2{margin:0}.filter-tabs{display:flex;gap:4px;flex-wrap:wrap}.filter-tab{padding:4px 10px;background:#f0f0f5;border:1.5px solid transparent;border-radius:5px;font-size:11px;font-weight:700;color:#555;cursor:pointer;font-family:inherit;transition:all .12s}.filter-tab:hover{background:#e7e7f0}.filter-tab.active{background:#4c4c8a;color:#fff;border-color:#2c2c6a}.story-stars{display:flex;gap:1px;font-size:11px;margin-bottom:2px}.star.on{color:#f59e0b}.star.off{color:#e5e5ea}.story-cat{font-size:10px;color:#888;font-weight:600;margin-top:auto}.story-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px}.story-card{background:#f7f3ff;border:2px solid transparent;border-radius:10px;padding:14px 12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;transition:all .15s;font-family:inherit;text-align:center}.story-card:hover{border-color:#c084fc;background:#fff;transform:translateY(-2px);box-shadow:0 6px 16px #c084fc2e}.story-emoji{font-size:32px;line-height:1}.story-title{font-size:13px;font-weight:800;color:#2c2c5a}.story-desc{font-size:11px;font-weight:500;color:#555;line-height:1.5}.welcome-footer{padding:14px 28px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1.5px solid #f0f0f5;margin-top:14px}.welcome-help-btn{padding:7px 16px;background:#4c4c8a;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:filter .12s}.welcome-help-btn:hover{filter:brightness(1.1)}.welcome-tip{font-size:11px;color:#777;flex:1;text-align:end}.code-preview{background:#1e1e2e;border-top:2px solid #4c4c8a;display:flex;flex-direction:column;height:220px;flex-shrink:0;overflow:hidden;transition:height .2s ease}.code-preview.collapsed{height:36px}.code-header{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#2d2d4a,#3a2a5a);padding:6px 10px;flex-shrink:0;height:36px;box-sizing:border-box}.code-toggle{width:22px;height:22px;border:none;background:#ffffff1f;color:#fff;border-radius:4px;font-size:12px;cursor:pointer;font-family:inherit;display:flex;align-items:center;justify-content:center;padding:0}.code-toggle:hover{background:#ffffff38}.code-title{flex:1;color:#f7d774;font-size:13px;font-weight:700;font-family:inherit}.code-title small{color:#aaa;font-weight:500;font-size:11px;margin-inline-start:4px}.code-copy{padding:4px 12px;background:#ffffff1f;color:#fff;border:1.5px solid rgba(255,255,255,.2);border-radius:5px;font-size:11px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .12s}.code-copy:hover:not(:disabled){background:#ffffff38}.code-copy:disabled{opacity:.4;cursor:not-allowed}.code-body{flex:1;margin:0;padding:12px 18px;overflow:auto;background:#1e1e2e;color:#f7f7fa;font-family:Vazirmatn,ui-monospace,Cascadia Code,Fira Code,Consolas,Courier New,monospace;font-size:13px;line-height:1.65;direction:ltr;text-align:left;white-space:pre;-moz-tab-size:4;tab-size:4}.code-body code{font-family:inherit}.tok-comment{color:#6c7a89;font-style:italic}.tok-deco{color:#f78fb3;font-weight:600}.tok-kw{color:#cba6f7;font-weight:700}.tok-str{color:#a6e3a1}.tok-num{color:#fab387}.code-run{padding:4px 12px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;border:none;border-radius:5px;font-size:11px;font-weight:800;cursor:pointer;font-family:inherit;transition:filter .12s}.code-run:hover:not(:disabled){filter:brightness(1.1)}.code-run:disabled{opacity:.5;cursor:wait}.code-body-wrap{display:flex;flex:1;min-height:0}.code-body-wrap>.code-body{flex:1}.code-console{flex:1;background:#0f0f1f;border-inline-start:2px solid #4c4c8a;display:flex;flex-direction:column;font-family:Vazirmatn,ui-monospace,Consolas,monospace;overflow-y:auto;font-size:12px}.code-console-head{position:sticky;top:0;background:#2d2d4a;color:#f7d774;padding:4px 10px;font-weight:800;font-size:11px;display:flex;align-items:center;justify-content:space-between}.code-console-close{background:transparent;border:none;color:#f7d774;font-size:16px;cursor:pointer;padding:0 4px}.code-console-close:hover{color:#fff}.code-console-line{padding:3px 12px;color:#a6e3a1;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.05)}.code-console-error{padding:8px 12px;color:#fca5a5;background:#dc262626;font-weight:700;margin:4px;border-radius:4px}.code-console-loading{padding:12px;color:#f7d774;font-weight:700;text-align:center}.block-context-menu{position:fixed;background:#fff;border:1.5px solid #d0d0dc;border-radius:8px;box-shadow:0 8px 24px #0000002e;padding:4px;z-index:500;min-width:160px;display:flex;flex-direction:column;gap:2px;animation:ctx-pop .12s ease}@keyframes ctx-pop{0%{opacity:0;transform:scale(.95) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}.ctx-item{display:flex;align-items:center;gap:8px;padding:8px 12px;background:transparent;border:none;border-radius:5px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;color:#2c2c5a;text-align:start;transition:background .08s}.ctx-item:hover{background:#f0f0fa}.ctx-item.destructive{color:#c12d2d}.ctx-item.destructive:hover{background:#ffebeb}.ctx-emoji{font-size:14px;width:18px;text-align:center}.landing-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#1a1a3a,#2c2c5a 40%,#4c2c6a);overflow-y:auto;z-index:1500;display:flex;flex-direction:column;align-items:center;padding:32px 16px 16px}.landing-stars{position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(2px 2px at 20% 30%,white,transparent),radial-gradient(1px 1px at 60% 20%,white,transparent),radial-gradient(1.5px 1.5px at 80% 50%,white,transparent),radial-gradient(1px 1px at 30% 70%,white,transparent),radial-gradient(2px 2px at 70% 80%,white,transparent),radial-gradient(1px 1px at 90% 35%,white,transparent),radial-gradient(1.5px 1.5px at 10% 60%,white,transparent),radial-gradient(1px 1px at 50% 90%,white,transparent);background-size:100% 100%;opacity:.4;pointer-events:none;animation:twinkle 4s ease-in-out infinite}@keyframes twinkle{0%,to{opacity:.3}50%{opacity:.6}}.landing-content{position:relative;z-index:1;max-width:720px;width:100%;display:flex;flex-direction:column;align-items:center;gap:22px}.landing-hero{text-align:center;color:#fff}.landing-emoji{font-size:50px;margin-bottom:4px;background:#ffffff1f;display:inline-block;padding:6px 18px;border-radius:12px;letter-spacing:-2px}.landing-title{margin:8px 0 4px;font-size:56px;font-weight:800;background:linear-gradient(135deg,#fff,#f7d774);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.landing-tagline{margin:0 0 12px;font-size:22px;font-weight:700;color:#f7d774;letter-spacing:1px}.landing-pitch{margin:0;font-size:15px;color:#ffffffe0;line-height:1.8;max-width:520px;margin-inline:auto}.landing-pitch strong{color:#f7d774}.landing-card{background:#fff;border-radius:14px;padding:24px 28px;width:100%;max-width:520px;box-shadow:0 16px 48px #0006;display:flex;flex-direction:column;gap:16px}.landing-card h2{margin:0;font-size:18px;color:#2c2c5a;text-align:center;font-weight:800}.landing-field{display:flex;flex-direction:column;gap:6px}.landing-label{font-size:13px;font-weight:700;color:#555}.landing-input{padding:11px 14px;font-size:15px;font-weight:600;border:2px solid #e5e5ea;border-radius:8px;font-family:inherit;outline:none;text-align:right;transition:border-color .12s}.landing-input:focus{border-color:#c084fc}.role-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.role-btn{background:#f7f3ff;border:2px solid transparent;border-radius:10px;padding:14px 12px;cursor:pointer;font-family:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;transition:all .12s}.role-btn:hover{background:#fff;border-color:#d8c4f0}.role-btn.active{background:#fff;border-color:#c084fc;box-shadow:0 0 0 3px #c084fc33}.role-emoji{font-size:32px;line-height:1}.role-name{font-size:14px;font-weight:800;color:#2c2c5a}.role-desc{font-size:11px;color:#666;text-align:center;font-weight:600}.landing-cta{padding:13px;background:linear-gradient(135deg,#4c4c8a,#6a4c8a);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:800;cursor:pointer;font-family:inherit;transition:all .12s;margin-top:4px}.landing-cta:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px);box-shadow:0 6px 16px #4c4c8a4d}.landing-cta:disabled{opacity:.4;cursor:not-allowed}.landing-note{margin:0;font-size:11px;color:#999;text-align:center}.landing-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;width:100%;max-width:720px}.feature-card{background:#ffffff14;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:12px;text-align:center;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.feature-emoji{font-size:24px;margin-bottom:4px}.feature-title{font-size:12px;font-weight:800;color:#f7d774;margin-bottom:2px}.feature-desc{font-size:11px;color:#ffffffb3;line-height:1.5}.landing-footer{font-size:11px;color:#fff6;margin-top:8px}.ch-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e248c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:900;display:flex;align-items:center;justify-content:center;padding:20px}.ch-modal{background:#fff;border-radius:12px;width:min(640px,100%);max-height:88vh;overflow-y:auto;box-shadow:0 16px 50px #0006;display:flex;flex-direction:column}.ch-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-radius:12px 12px 0 0;z-index:1}.ch-header h2{margin:0;font-size:14px;font-weight:800}.ch-close{width:28px;height:28px;border:none;background:#fff3;color:#fff;font-size:20px;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center}.ch-close:hover{background:#ffffff52}.ch-list{display:grid;grid-template-columns:1fr;gap:6px;padding:14px}.ch-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fafafa;border:2px solid transparent;border-radius:8px;cursor:pointer;font-family:inherit;text-align:start;transition:all .12s}.ch-card:hover{background:#fff;border-color:#fde68a}.ch-card.active{border-color:#f59e0b}.ch-card.done{background:#f0fdf4;border-color:#86efac}.ch-card-emoji{font-size:26px;line-height:1;flex-shrink:0}.ch-card-body{flex:1}.ch-card-title{font-size:14px;font-weight:800;color:#2c2c5a}.ch-card-desc{font-size:12px;color:#555;margin-top:2px}.ch-card-check{font-size:22px;color:#16a34a;font-weight:900;flex-shrink:0}.ch-detail{padding:16px 20px;display:flex;flex-direction:column;gap:14px}.ch-back{align-self:start;background:transparent;border:none;color:#4c4c8a;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;padding:4px 0}.ch-back:hover{text-decoration:underline}.ch-hero{text-align:center}.ch-hero-emoji{font-size:44px;margin-bottom:4px}.ch-hero h3{margin:0;font-size:20px;color:#2c2c5a;font-weight:800}.ch-hero-desc{margin:4px 0 0;font-size:13px;color:#555}.ch-goal{background:#fff7ed;border-inline-start:4px solid #f59e0b;padding:10px 14px;border-radius:6px}.ch-goal-label{font-size:11px;font-weight:800;color:#b45309;margin-bottom:4px}.ch-goal-text{font-size:13px;color:#333;line-height:1.7}.ch-action-hint{background:#f0f4ff;border-inline-start:4px solid #4c4c8a;padding:10px 14px;border-radius:6px;font-size:12px;color:#2c2c5a;line-height:1.7}.ch-verdict{display:flex;gap:10px;padding:14px;border-radius:8px;align-items:flex-start}.ch-verdict.passed{background:linear-gradient(135deg,#dcfce7,#f0fdf4);border:2px solid #86efac}.ch-verdict.failed{background:linear-gradient(135deg,#fee2e2,#fef2f2);border:2px solid #fecaca}.ch-verdict-icon{font-size:28px;line-height:1;flex-shrink:0}.ch-verdict-msg{font-size:13px;font-weight:700;color:#2c2c5a;line-height:1.6}.ch-verdict.passed .ch-verdict-msg{color:#14532d}.ch-verdict.failed .ch-verdict-msg{color:#7f1d1d}.ch-verdict-hint{margin-top:4px;font-size:12px;color:#555;line-height:1.6}.cur-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e248c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:850;display:flex;align-items:center;justify-content:center;padding:20px}.cur-modal{background:#fff;border-radius:12px;width:min(720px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 16px 50px #0006;display:flex;flex-direction:column}.cur-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(135deg,#4c4c8a,#6a4c8a);color:#fff;z-index:1}.cur-header h2{margin:0;font-size:14px;font-weight:800}.cur-close{width:28px;height:28px;border:none;background:#fff3;color:#fff;font-size:20px;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center}.cur-list{display:flex;flex-direction:column;gap:6px;padding:14px}.cur-progress-bar{height:8px;background:#f0f0f5;border-radius:4px;overflow:hidden;margin-bottom:8px}.cur-progress-fill{height:100%;background:linear-gradient(90deg,#4c4c8a,#f7d774);transition:width .3s ease}.cur-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fafafa;border:2px solid transparent;border-radius:8px;cursor:pointer;font-family:inherit;text-align:start;transition:all .12s}.cur-card:hover:not(:disabled){background:#fff;border-color:#c084fc}.cur-card.done{background:#f0fdf4;border-color:#86efac}.cur-card.locked{opacity:.5;cursor:not-allowed}.cur-card-num{width:32px;height:32px;background:#4c4c8a;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex-shrink:0}.cur-card.done .cur-card-num{background:#16a34a}.cur-card.locked .cur-card-num{background:#999}.cur-card-emoji{font-size:26px;line-height:1;flex-shrink:0}.cur-card-body{flex:1}.cur-card-title{font-size:14px;font-weight:800;color:#2c2c5a}.cur-card-goal{font-size:11px;color:#777;margin-top:2px}.cur-detail{padding:16px 20px;display:flex;flex-direction:column;gap:12px}.cur-back{align-self:start;background:transparent;border:none;color:#4c4c8a;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;padding:4px 0}.cur-hero{text-align:center;padding:4px 0 8px}.cur-hero-emoji{font-size:38px}.cur-hero-num{font-size:11px;font-weight:700;color:#888;letter-spacing:1px;text-transform:uppercase}.cur-hero h3{margin:4px 0 0;font-size:22px;font-weight:800;color:#2c2c5a}.cur-section{background:#faf9ff;border-inline-start:4px solid #c084fc;padding:10px 14px;border-radius:6px}.cur-section.intro{background:#fff7ed;border-color:#f59e0b}.cur-section-label{font-size:11px;font-weight:800;color:#6b21a8;margin-bottom:4px}.cur-section.intro .cur-section-label{color:#b45309}.cur-section-text{font-size:13px;color:#333;line-height:1.7}.cur-steps{margin:4px 0;padding-inline-start:22px}.cur-steps li{font-size:13px;color:#333;line-height:1.8;margin-bottom:4px}.cur-actions{display:flex;gap:8px;flex-wrap:wrap}.cur-load-btn{flex:1;padding:10px 14px;background:#4c4c8a;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.cur-load-btn:hover:not(:disabled){filter:brightness(1.1)}.cur-load-btn:disabled{opacity:.4;cursor:not-allowed}.cur-done-btn{flex:1;padding:10px 14px;background:#16a34a;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.cur-done-btn.completed{background:#6c757d}.cur-done-btn:hover:not(.completed){filter:brightness(1.1)}.cur-reward{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1.5px dashed #f59e0b;padding:10px 14px;border-radius:8px;font-size:13px;font-weight:700;color:#92400e;text-align:center}.sm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e2499;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:880;display:flex;align-items:center;justify-content:center;padding:20px}.sm-modal{background:#fff;border-radius:14px;width:min(720px,100%);max-height:92vh;overflow-y:auto;box-shadow:0 20px 60px #00000073;display:flex;flex-direction:column}.sm-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:linear-gradient(135deg,#4c4c8a,#6a4c8a);color:#fff;z-index:1}.sm-header-title{display:flex;align-items:center;gap:8px}.sm-cat{font-size:22px}.sm-header h2{margin:0;font-size:14px;font-weight:800}.sm-close{width:28px;height:28px;border:none;background:#fff3;color:#fff;font-size:20px;border-radius:5px;cursor:pointer;display:flex;align-items:center;justify-content:center}.sm-list{padding:14px;display:flex;flex-direction:column;gap:6px}.sm-progress-bar{height:8px;background:#f0f0f5;border-radius:4px;overflow:hidden}.sm-progress-fill{height:100%;background:linear-gradient(90deg,#f7d774,#c084fc);transition:width .3s ease}.sm-intro{margin:4px 0 8px;font-size:13px;color:#555;line-height:1.6;text-align:center}.sm-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fafafa;border:2px solid transparent;border-radius:8px;cursor:pointer;font-family:inherit;text-align:start;transition:all .12s;position:relative}.sm-card:hover:not(:disabled){background:#fff;border-color:#c084fc}.sm-card.done{background:linear-gradient(135deg,#f0fdf4,#fef9c3);border-color:#f7d774}.sm-card.locked{opacity:.5;cursor:not-allowed}.sm-card-num{min-width:56px;height:32px;background:#4c4c8a;color:#fff;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0;padding:0 10px}.sm-card.done .sm-card-num{background:linear-gradient(135deg,#f59e0b,#f7d774)}.sm-card-emoji{font-size:28px;line-height:1;flex-shrink:0}.sm-card-body{flex:1}.sm-card-title{font-size:14px;font-weight:800;color:#2c2c5a}.sm-card-prompt{font-size:12px;color:#555;margin-top:2px;line-height:1.5}.sm-card-badge{font-size:10px;background:#f59e0b;color:#fff;padding:3px 8px;border-radius:10px;font-weight:800}.sm-detail{padding:16px 20px 20px;display:flex;flex-direction:column;gap:12px}.sm-back{align-self:start;background:transparent;border:none;color:#4c4c8a;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;padding:4px 0}.sm-hero{text-align:center;padding:4px 0 6px}.sm-hero-emoji{font-size:42px}.sm-hero-num{font-size:11px;font-weight:700;color:#888;letter-spacing:1px}.sm-hero h3{margin:4px 0 0;font-size:22px;font-weight:800;color:#2c2c5a}.sm-narrate{background:#1e1e2e;color:#f7d774;border-radius:10px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start;font-size:13px;font-weight:600;line-height:1.7;border:1.5px solid rgba(247,215,116,.3)}.sm-narrate-icon{font-size:18px;flex-shrink:0}.sm-narrate span:last-child{color:#fafafa}.sm-prompt{background:linear-gradient(135deg,#fff7ed,#fef3c7);border-inline-start:4px solid #f59e0b;padding:10px 14px;border-radius:6px}.sm-prompt-label{font-size:11px;font-weight:800;color:#b45309}.sm-prompt-text{font-size:14px;color:#2c2c5a;font-weight:700;margin-top:4px;line-height:1.6}.sm-task-status{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;background:#fef2f2;border-radius:8px;border-inline-start:4px solid #fca5a5}.sm-task-status.done{background:#f0fdf4;border-color:#86efac}.sm-task-icon{font-size:22px;line-height:1}.sm-task-msg{font-size:13px;color:#333;line-height:1.6;font-weight:600}.sm-quiz-section h4{margin:8px 0 4px;font-size:14px;color:#4c4c8a;font-weight:800;display:flex;align-items:center;gap:6px}.sm-quiz{background:#f7f3ff;border:2px solid transparent;border-radius:10px;padding:12px 14px;margin-bottom:8px}.sm-quiz.locked{opacity:.5;pointer-events:none}.sm-quiz-q{font-size:13px;font-weight:700;color:#2c2c5a;margin-bottom:8px}.sm-quiz-options{display:flex;flex-direction:column;gap:5px}.sm-quiz-opt{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1.5px solid #e1e1ea;border-radius:6px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600;color:#333;text-align:start;transition:all .12s}.sm-quiz-opt:hover:not(:disabled){border-color:#c084fc;background:#faf5ff}.sm-quiz-opt:disabled{cursor:not-allowed}.sm-quiz-opt.correct{background:#dcfce7;border-color:#86efac;color:#14532d}.sm-quiz-opt.wrong{background:#fee2e2;border-color:#fca5a5;color:#7f1d1d}.sm-quiz-opt.reveal{background:#fff7ed;border-color:#fdba74}.sm-quiz-letter{width:22px;height:22px;background:#4c4c8a;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0}.sm-quiz-opt.correct .sm-quiz-letter{background:#16a34a}.sm-quiz-opt.wrong .sm-quiz-letter{background:#dc2626}.sm-quiz-text{flex:1}.sm-quiz-mark{font-size:18px;font-weight:900}.sm-quiz-hint{margin-top:8px;padding:8px 10px;background:#fff7ed;color:#92400e;border-radius:6px;font-size:12px;font-weight:600;line-height:1.6}.sm-quiz-correct{margin-top:8px;padding:8px 10px;background:#dcfce7;color:#14532d;border-radius:6px;font-size:12px;font-weight:700;text-align:center}.sm-outro{background:linear-gradient(135deg,#fef9c3,#fed7aa);border:2px solid #f59e0b;border-radius:10px;padding:14px;display:flex;gap:10px;align-items:center}.sm-outro-icon{font-size:32px;line-height:1}.sm-outro-text{font-size:14px;font-weight:700;color:#78350f;line-height:1.6}.sm-hints{background:#f0f0f5;padding:10px 14px;border-radius:6px}.sm-hints-label{font-size:11px;font-weight:800;color:#555;margin-bottom:4px}.sm-hints ul{margin:4px 0;padding-inline-start:18px}.sm-hints li{font-size:12px;color:#555;line-height:1.6;margin-bottom:2px}.tour-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;pointer-events:none}.tour-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#140e24a6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:auto}.tour-highlight{position:fixed;border:3px solid #f7d774;border-radius:12px;box-shadow:0 0 0 4px #f7d77466,0 0 30px #f7d77499;pointer-events:none;z-index:1401;animation:tour-pulse 1.6s ease-in-out infinite}@keyframes tour-pulse{0%,to{box-shadow:0 0 0 4px #f7d77466,0 0 30px #f7d77499}50%{box-shadow:0 0 0 8px #f7d77499,0 0 50px #f7d774d9}}.tour-bubble{position:fixed;width:440px;max-width:calc(100vw - 40px);background:#fff;border-radius:14px;padding:22px 24px 18px;box-shadow:0 24px 60px #00000073;pointer-events:auto;z-index:1402;font-family:inherit;animation:tour-pop .25s cubic-bezier(.2,.9,.4,1.2);border:3px solid #f7d774}@keyframes tour-pop{0%{transform:scale(.92) translateY(8px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.tour-emoji{font-size:38px;line-height:1;margin-bottom:6px}.tour-step-num{font-size:11px;font-weight:800;color:#c084fc;letter-spacing:1px;text-transform:uppercase}.tour-bubble h3{margin:4px 0 8px;font-size:20px;font-weight:900;color:#2c2c5a}.tour-bubble p{margin:0 0 16px;font-size:14px;color:#444;line-height:1.85}.tour-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.tour-skip{background:transparent;color:#888;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;text-decoration:underline}.tour-skip:hover{color:#555}.tour-nav{display:flex;gap:6px}.tour-prev,.tour-next,.tour-done{padding:8px 16px;border:none;border-radius:6px;font-size:13px;font-weight:800;cursor:pointer;font-family:inherit}.tour-prev{background:#f0f0f5;color:#555}.tour-prev:hover{background:#e7e7f0}.tour-next{background:#4c4c8a;color:#fff}.tour-next:hover{filter:brightness(1.1)}.tour-done{background:linear-gradient(135deg,#f59e0b,#f7d774);color:#2c2c5a}.tour-done:hover{filter:brightness(1.05);transform:translateY(-1px)}.empty-helper{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:20px;pointer-events:none;z-index:1}.empty-helper-card{pointer-events:auto;max-width:480px;width:100%;background:linear-gradient(135deg,#faf5ff,#fff 70%,#fef9c3);border:2px dashed #c084fc;border-radius:16px;padding:24px 28px;box-shadow:0 12px 36px #c084fc2e;text-align:center;animation:eh-float .4s ease}@keyframes eh-float{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.empty-helper-emoji{font-size:42px;line-height:1;margin-bottom:4px}.empty-helper-card h3{margin:0 0 6px;font-size:20px;font-weight:900;color:#2c2c5a}.empty-helper-card p{margin:0 0 16px;font-size:13px;color:#555;line-height:1.7}.empty-helper-actions{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}.eh-btn{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:2px solid #e5e5ea;border-radius:10px;cursor:pointer;font-family:inherit;text-align:start;transition:all .12s}.eh-btn:hover{border-color:#c084fc;background:#faf5ff;transform:translateY(-1px)}.eh-btn-primary{background:linear-gradient(135deg,#c084fc,#f59e0b);border-color:transparent;color:#fff}.eh-btn-primary:hover{filter:brightness(1.08)}.eh-btn-primary strong,.eh-btn-primary small{color:#fff}.eh-btn-emoji{font-size:26px;line-height:1;flex-shrink:0}.eh-btn-text{display:flex;flex-direction:column;gap:1px;flex:1}.eh-btn-text strong{font-size:14px;font-weight:800;color:#2c2c5a}.eh-btn-text small{font-size:11px;color:#777}.empty-helper-tips{background:#fff7ed;padding:10px 12px;border-radius:8px;border:1.5px dashed #f59e0b;font-size:11px;color:#92400e;display:flex;flex-direction:column;gap:3px;text-align:start}.empty-helper-tips strong{color:#78350f}.empty-helper-tips span{color:#92400e;line-height:1.6}.hm-wrap{position:relative}.hm-trigger{display:flex;align-items:center;gap:4px}.hm-dropdown{position:absolute;top:calc(100% + 6px);inset-inline-end:0;background:#fff;border:1.5px solid #d0d0dc;border-radius:10px;padding:6px;min-width:200px;box-shadow:0 12px 30px #0003;z-index:600;display:flex;flex-direction:column;gap:2px;animation:hm-pop .15s ease}@keyframes hm-pop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.hm-item{display:flex;align-items:center;gap:10px;padding:9px 12px;background:transparent;border:none;border-radius:6px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:700;color:#2c2c5a;text-align:start;transition:background .08s}.hm-item:hover:not(:disabled){background:#f0f0fa}.hm-item:disabled{opacity:.4;cursor:not-allowed}.hm-item.destructive{color:#c12d2d}.hm-item.destructive:hover:not(:disabled){background:#ffebeb}.hm-emoji{font-size:16px;width:22px;text-align:center}.hm-label{flex:1}.jr-app{height:100%;display:flex;flex-direction:column;background:#eef1f7;font-family:Vazirmatn,"Baloo 2",system-ui,sans-serif;color:#222;overflow:hidden}.jr-pal-label,.jr-block-label,.jr-block-counter span,.jr-pal-icon,.jr-loop,.jr-program-title,.jr-brand-name,.jr-run,.jr-stop{font-family:Fredoka,Vazirmatn,sans-serif;letter-spacing:.2px}.jr-header{display:flex;align-items:center;gap:12px;padding:10px 16px;background:linear-gradient(135deg,#ff8a3d,#ff6f91);color:#fff;box-shadow:0 2px 10px #00000026;z-index:5}.jr-home{border:none;background:#ffffff38;color:#fff;font-weight:700;font-size:14px;padding:8px 14px;border-radius:12px;cursor:pointer}.jr-home:hover{background:#ffffff59}.jr-brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:20px}.jr-brand-emoji{font-size:24px}.jr-run-controls{margin-inline-start:auto;display:flex;align-items:center;gap:10px}.jr-lang,.jr-fs{border:none;background:#ffffff38;color:#fff;font-weight:800;font-size:13px;padding:8px 12px;border-radius:10px;cursor:pointer;min-width:40px}.jr-fs{font-size:18px;line-height:1;padding:6px 12px}.jr-lang:hover,.jr-fs:hover{background:#ffffff59}.jr-app:fullscreen{background:#f4f4f7}.jr-app:fullscreen .jr-stage{box-shadow:0 10px 40px #00000047}.jr-app:fullscreen.is-running .jr-header,.jr-app:fullscreen.is-running .jr-scenes,.jr-app:fullscreen.is-running .jr-tray,.jr-app:fullscreen.is-running .jr-stage-toolbar,.jr-app:fullscreen.is-running .jr-script{display:none}.jr-app:fullscreen.is-running .jr-main{flex:1}.jr-app:fullscreen.is-running .jr-center{padding:0}.jr-app:fullscreen.is-running .jr-stage-wrap{background:#0c0c14}.jr-app:fullscreen.is-running .jr-stage{height:100vh;width:100vw;max-width:100vw;max-height:100vh;border-radius:0;box-shadow:none}@media(max-aspect-ratio:24/15){.jr-app:fullscreen.is-running .jr-stage{height:auto;width:100vw}}.jr-fullscreen-stop{display:none}.jr-app:fullscreen.is-running .jr-fullscreen-stop{display:flex;position:fixed;top:16px;inset-inline-end:16px;z-index:50;align-items:center;gap:6px;border:none;background:#14141e8c;color:#fff;font-family:Fredoka,Vazirmatn,sans-serif;font-weight:700;font-size:16px;padding:10px 18px;border-radius:999px;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:.35;transition:opacity .2s}.jr-app:fullscreen.is-running .jr-fullscreen-stop:hover{opacity:1}.jr-run,.jr-stop{border:none;font-weight:800;font-size:17px;padding:10px 26px;border-radius:14px;cursor:pointer;box-shadow:0 3px #0000002e;transition:transform .08s}.jr-run{background:#2bd673;color:#053b1d}.jr-stop{background:#ffcf33;color:#5a3d00}.jr-run:active,.jr-stop:active{transform:translateY(2px);box-shadow:0 1px #0000002e}.jr-main{flex:1;display:flex;min-height:0}.jr-scenes{width:132px;flex-shrink:0;background:#fff;border-inline-start:1px solid #e2e7ef;display:flex;flex-direction:column;padding:10px 8px;gap:8px;overflow:hidden}.jr-scenes-title{font-weight:800;font-size:13px;color:#8a93a6;text-align:center}.jr-scenes-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding:2px}.jr-scene-card{position:relative;border:2px solid transparent;border-radius:12px;padding:4px;cursor:pointer;background:#f4f6fa;transition:border-color .12s}.jr-scene-card.active{border-color:#ff6f91;background:#fff0f3}.jr-scene-thumb{position:relative;aspect-ratio:4 / 3;border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:2px;font-size:18px}.jr-scene-num{position:absolute;top:2px;inset-inline-start:4px;font-size:10px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}.jr-scene-name{text-align:center;font-size:11px;margin-top:3px;color:#555}.jr-scene-del{position:absolute;top:-6px;inset-inline-start:-6px;width:20px;height:20px;border-radius:50%;border:none;background:#ff5470;color:#fff;font-size:11px;cursor:pointer;display:none}.jr-scene-card:hover .jr-scene-del{display:block}.jr-app.is-running .jr-scene-del,.jr-app.is-running .jr-tray-del{display:none!important}.jr-scene-add{border:2px dashed #cbd3e0;background:#fbfcfe;border-radius:12px;padding:10px 4px;cursor:pointer;color:#7a8295;font-weight:700;font-size:22px;display:flex;flex-direction:column;align-items:center}.jr-scene-add span{font-size:11px}.jr-scene-add:hover{border-color:#ff6f91;color:#ff6f91}.jr-center{flex:1;display:flex;flex-direction:column;min-width:0;padding:12px;gap:10px}.jr-stage-toolbar{display:flex;align-items:center;gap:10px}.jr-bg-btn,.jr-music-btn{border:none;background:#fff;font-weight:700;font-size:14px;padding:8px 16px;border-radius:12px;cursor:pointer;box-shadow:0 1px 4px #0000001a;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jr-bg-btn:hover,.jr-music-btn:hover{background:#f3f5fa}.jr-sound-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin-bottom:6px}.jr-sound-card{display:flex;align-items:stretch;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px #0000001a;background:#fff}.jr-sound-card.active{outline:3px solid #6a4cff}.jr-sound-prev{border:none;background:#2bb673;color:#fff;width:34px;font-size:12px;cursor:pointer;flex-shrink:0}.jr-sound-prev:hover{background:#24a064}.jr-sound-choose{border:none;background:#fff;color:#333;font-family:inherit;font-size:13px;font-weight:600;padding:9px 8px;cursor:pointer;flex:1;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jr-sound-choose:hover{background:#f3f3f3}.jr-size-control{display:flex;align-items:center;gap:6px;background:#fff;border-radius:12px;padding:5px 10px;box-shadow:0 1px 4px #0000001a;font-size:13px;color:#555}.jr-icon-btn{border:none;background:#fff;color:#555;font-weight:700;font-size:13px;padding:7px 12px;border-radius:12px;cursor:pointer;box-shadow:0 1px 4px #0000001a;white-space:nowrap}.jr-icon-btn:hover{background:#f3f5fa}.jr-icon-btn:disabled{opacity:.5;cursor:default}.jr-icon-btn.paste{background:#e8f7ef;color:#2bb673}.jr-trans-control{display:flex;align-items:center;gap:4px;background:#fff;border-radius:12px;padding:4px 8px;box-shadow:0 1px 4px #0000001a}.jr-trans-control select{border:none;background:transparent;font-family:inherit;font-size:13px;font-weight:700;color:#555;cursor:pointer}.jr-trans-prev{border:none;background:#6a4cff;color:#fff;width:24px;height:24px;border-radius:8px;font-size:10px;cursor:pointer}.jr-trans-prev:disabled{opacity:.5}.jr-size-control button{width:28px;height:28px;border:none;border-radius:8px;background:#eef1f7;font-size:18px;cursor:pointer}.jr-size-control button:hover{background:#e0e5ee}.jr-stage-wrap{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center}.jr-stage{position:relative;height:100%;width:auto;aspect-ratio:24 / 15;max-width:100%;max-height:100%;margin:0 auto;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px #0000002e;container-type:size;touch-action:none}@media(max-aspect-ratio:24/15){.jr-stage{height:auto;width:100%;max-height:100%}}.jr-char{position:absolute;left:calc((var(--col, 12) + .5) / 24 * 100%);top:calc((var(--row, 7) + .5) / 15 * 100%);transform:translate(-50%,-50%) rotate(calc(var(--angle, 0) * 1deg));cursor:grab;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 3px 4px rgba(0,0,0,.25));will-change:left,top}.jr-rotate-handle{position:absolute;bottom:100%;left:50%;transform:translate(-50%,-14px);width:30px;height:30px;border-radius:50%;border:2px solid #6a4cff;background:#fff;color:#6a4cff;font-size:16px;line-height:1;cursor:grab;box-shadow:0 2px 6px #00000040;display:flex;align-items:center;justify-content:center;touch-action:none;z-index:3}.jr-rotate-handle:active{cursor:grabbing;background:#efeaff}.jr-rotate-handle:before{content:"";position:absolute;top:100%;left:50%;width:2px;height:12px;background:#6a4cff;transform:translate(-50%)}.jr-bubble{position:absolute;bottom:100%;left:50%;transform:translate(-50%,-8px);background:#fff;color:#333;font-size:13px;font-weight:700;padding:7px 12px;border-radius:14px;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis;box-shadow:0 3px 10px #0003;pointer-events:none;animation:jr-pop .18s ease-out}.jr-bubble:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:7px solid transparent;border-top-color:#fff}@keyframes jr-pop{0%{transform:translate(-50%,-8px) scale(.6);opacity:0}to{transform:translate(-50%,-8px) scale(1);opacity:1}}.jr-stage-wrap .jr-stage{transform-origin:center}.tr-fade-out .jr-stage{animation:tr-fade-out .48s ease forwards}.tr-fade-in .jr-stage{animation:tr-fade-in .48s ease forwards}@keyframes tr-fade-out{to{opacity:0}}@keyframes tr-fade-in{0%{opacity:0}to{opacity:1}}.tr-slide-out .jr-stage{animation:tr-slide-out .48s cubic-bezier(.6,0,.4,1) forwards}.tr-slide-in .jr-stage{animation:tr-slide-in .48s cubic-bezier(.6,0,.4,1) forwards}@keyframes tr-slide-out{to{transform:translate(-110%);opacity:.6}}@keyframes tr-slide-in{0%{transform:translate(110%);opacity:.6}to{transform:translate(0);opacity:1}}.tr-zoom-out .jr-stage{animation:tr-zoom-out .48s ease forwards}.tr-zoom-in .jr-stage{animation:tr-zoom-in .48s ease forwards}@keyframes tr-zoom-out{to{transform:scale(1.6);opacity:0}}@keyframes tr-zoom-in{0%{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}.tr-iris-out .jr-stage{animation:tr-iris-out .48s ease forwards}.tr-iris-in .jr-stage{animation:tr-iris-in .48s ease forwards}@keyframes tr-iris-out{to{clip-path:circle(0% at 50% 50%)}}@keyframes tr-iris-in{0%{clip-path:circle(0% at 50% 50%)}to{clip-path:circle(75% at 50% 50%)}}.tr-wipe-out .jr-stage{animation:tr-wipe-out .48s ease forwards}.tr-wipe-in .jr-stage{animation:tr-wipe-in .48s ease forwards}@keyframes tr-wipe-out{to{clip-path:inset(0 0 0 100%)}}@keyframes tr-wipe-in{0%{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}.tr-curtain-out .jr-stage{animation:tr-curtain-out .48s ease forwards}.tr-curtain-in .jr-stage{animation:tr-curtain-in .48s ease forwards}@keyframes tr-curtain-out{to{clip-path:inset(50% 0 50% 0)}}@keyframes tr-curtain-in{0%{clip-path:inset(50% 0 50% 0)}to{clip-path:inset(0 0 0 0)}}.jr-char.running{cursor:default}.jr-char.selected:not(.running):after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border:3px dashed #ffffff;border-radius:14px;box-shadow:0 0 0 2px #00000040;pointer-events:none}.jr-char-emoji{display:block;font-size:calc(var(--size, 22) * 1cqh);line-height:1;transform:scaleX(var(--flip, 1))}.jr-char-img{display:block;height:calc(var(--size, 26) * 1cqh);width:auto;pointer-events:none;transform:scaleX(var(--flip, 1))}.jr-stage-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#00000073;font-weight:700;font-size:16px}.jr-stage-empty-emoji{font-size:48px}.jr-tray{display:flex;align-items:center;gap:8px;padding:8px;background:#fff;border-radius:14px;box-shadow:0 1px 4px #00000014;overflow-x:auto;min-height:76px}.jr-tray-chip{position:relative;flex-shrink:0;width:64px;border:2px solid transparent;border-radius:12px;background:#f4f6fa;padding:6px 4px;cursor:pointer;text-align:center;transition:border-color .12s}.jr-tray-chip.active{border-color:#ff6f91;background:#fff0f3}.jr-tray-avatar{font-size:30px;line-height:1;height:34px;display:flex;align-items:center;justify-content:center}.jr-tray-avatar img{max-height:34px;max-width:50px}.jr-tray-name{font-size:11px;color:#555;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jr-tray-del{position:absolute;top:-6px;inset-inline-start:-6px;width:18px;height:18px;border-radius:50%;border:none;background:#ff5470;color:#fff;font-size:10px;cursor:pointer;display:none}.jr-tray-chip:hover .jr-tray-del{display:block}.jr-tray-add{flex-shrink:0;width:64px;height:60px;border:2px dashed #cbd3e0;border-radius:12px;background:#fbfcfe;cursor:pointer;color:#7a8295;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.jr-tray-add span{font-size:11px}.jr-tray-add-plus{font-size:22px!important}.jr-tray-add:hover{border-color:#ff6f91;color:#ff6f91}.jr-script{background:#f7f3ec;border-top:3px solid #e9dfce;padding:10px 14px;display:flex;gap:14px;align-items:stretch;min-height:168px;max-height:38vh}.jr-script-empty{align-items:center;justify-content:center}.jr-script-hint{font-size:16px;color:#a99c82;font-weight:700}.jr-palette{flex-shrink:0;width:300px;display:flex;flex-direction:column;gap:6px;min-height:0}.jr-palette-title{flex-shrink:0;font-weight:800;color:#8a7a5c;font-size:14px}.jr-palette-blocks{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;align-content:start;overflow-y:auto;padding-inline-end:4px}.jr-pal-block{position:relative;border:none;border-radius:12px;padding:8px 2px 6px;cursor:pointer;color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;box-shadow:0 3px #0000002e;transition:transform .08s}.jr-pal-block:active{transform:translateY(2px);box-shadow:0 1px #0000002e}.jr-pal-block:disabled{opacity:.5;cursor:default}.jr-pal-block.move{background:#4a90e2}.jr-pal-block.ctrl{background:#f5a623}.jr-pal-block.looks{background:#9b59d0}.jr-pal-block.talk{background:#2bb673}.jr-pal-block.scene{background:#e8506e}.jr-pal-icon{font-size:22px}.jr-pal-label{font-size:12px;font-weight:700}.jr-pal-plus{position:absolute;top:3px;inset-inline-end:6px;font-size:13px;opacity:.8}.jr-program{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}.jr-program-head{display:flex;align-items:center;justify-content:space-between}.jr-program-title{font-weight:800;color:#6b5d42;font-size:14px}.jr-clear{border:none;background:#f0e6d6;color:#9a7d4f;font-size:12px;font-weight:700;padding:4px 10px;border-radius:8px;cursor:pointer}.jr-clear:hover{background:#e8d9c0}.jr-strip{flex:1;display:flex;align-items:center;gap:6px;background:#fffdf8;border:2px dashed #e3d7c0;border-radius:14px;padding:10px;overflow-x:auto;min-height:92px}.jr-strip-empty{color:#c1b393;font-weight:700;font-size:14px;margin:auto}.jr-lanes{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding-inline-end:4px}.jr-lane{display:flex;align-items:stretch;gap:8px;padding:8px;border-radius:14px;border:2px solid transparent;background:#fbfbfe;cursor:pointer}.jr-lane.active{border-color:#6a4cff;background:#f4f1ff}.jr-hat{flex-shrink:0;width:150px;display:flex;flex-direction:column;gap:6px;justify-content:center;background:linear-gradient(135deg,#ffb24d,#ff8a3d);border-radius:12px 12px 4px;padding:8px;color:#fff}.jr-hat-fixed{background:#fffffff2;color:#5a3a10;border-radius:8px;padding:8px 6px;font-weight:800;font-size:13px;text-align:center}.jr-hat-select{border:none;border-radius:8px;padding:6px 4px;font-family:inherit;font-size:12px;font-weight:800;color:#5a3a10;background:#fffffff2;cursor:pointer}.jr-lane-del{align-self:flex-end;border:none;background:#ffffff4d;color:#fff;border-radius:8px;padding:3px 8px;font-size:13px;cursor:pointer}.jr-lane-del:hover{background:#ffffff80}.jr-lane .jr-strip{flex:1;min-height:78px}.jr-lane .jr-loop{flex-shrink:0;flex-direction:column;align-items:flex-start;gap:6px}.jr-add-lane{border:2px dashed #cbd3e0;background:#fbfcfe;color:#7a8295;font-weight:800;font-size:14px;padding:10px;border-radius:12px;cursor:pointer;flex-shrink:0}.jr-add-lane:hover{border-color:#6a4cff;color:#6a4cff}.jr-add-lane:disabled{opacity:.5}.jr-clear-inline{border:none;background:#f0e6d6;border-radius:8px;padding:6px 8px;font-size:15px;cursor:pointer;flex-shrink:0}.jr-pal-block.msg,.jr-block.msg{background:#c43d8e}.jr-pal-block.var,.jr-block.var{background:#e0a020}.jr-block-var{display:flex;flex-direction:column;gap:3px;margin-top:3px;align-items:center}.jr-monitors{position:absolute;top:10px;inset-inline-start:10px;display:flex;flex-direction:column;gap:6px;pointer-events:none;z-index:4}.jr-monitor{display:flex;align-items:center;gap:8px;background:#ffffffeb;border-radius:10px;padding:4px 10px;box-shadow:0 2px 6px #0000002e;font-weight:800;font-size:14px}.jr-monitor-name{color:#555}.jr-monitor-val{background:#e0a020;color:#fff;border-radius:8px;padding:1px 8px;min-width:22px;text-align:center}.jr-var-list{display:flex;flex-direction:column;gap:8px}.jr-var-row{display:flex;align-items:center;gap:8px;background:#f7f9fc;border-radius:12px;padding:8px 10px}.jr-var-name{flex:1;border:2px solid #e3e8f0;border-radius:8px;padding:6px 10px;font-family:inherit;font-size:14px;font-weight:700;color:#333}.jr-var-val{font-weight:800;color:#e0a020;min-width:50px}.jr-var-del{border:none;background:#ffe0e0;border-radius:8px;padding:6px 10px;cursor:pointer;font-size:14px}.jr-msg-dots{display:flex;gap:5px;margin-top:4px;flex-wrap:wrap;justify-content:center;max-width:80px}.jr-msg-dot{width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.6);cursor:pointer;padding:0}.jr-msg-dot.active{border-color:#fff;box-shadow:0 0 0 2px #333;transform:scale(1.15)}.jr-hat .jr-msg-dot{border-color:#fffc}.jr-speed{display:flex;gap:2px;background:#fff3;border-radius:10px;padding:2px 4px;width:220px}.jr-speed .speed-slider{--ss-fill: #ffffff;--ss-empty: rgba(255, 255, 255, .3);width:100%;padding:2px 4px}.jr-speed .speed-slider .ss-value{color:#fff}.jr-speed button{border:none;background:transparent;font-size:16px;padding:5px 8px;border-radius:8px;cursor:pointer;opacity:.6}.jr-speed button.active{background:#ffffffe6;opacity:1}.jr-rec{border:none;background:#e23b3b;color:#fff;font-size:16px;padding:6px 12px;border-radius:10px;cursor:pointer}.jr-rec:hover{background:#cf2f2f}.jr-guide-btn{border:none;background:#ffffff38;color:#fff;font-weight:800;font-size:13px;padding:8px 12px;border-radius:10px;cursor:pointer}.jr-guide-btn:hover{background:#ffffff59}.jr-pal-block.ctrl.stop,.jr-block.stop{background:#d23b3b}.jr-rec.on{background:#ff3b3b;animation:jr-rec-pulse 1.1s infinite}@keyframes jr-rec-pulse{0%,to{box-shadow:0 0 #ff3b3b99}50%{box-shadow:0 0 0 6px #ff3b3b00}}.jr-play-hint{background:#fff6e0;color:#9a7d4f;font-weight:700;font-size:13px;padding:7px 14px;border-radius:10px}.jr-big-action.mic{background:#e8506e}.jr-big-action.recording{background:#ff3b3b;animation:jr-rec-pulse 1.1s infinite}.jr-block{position:relative;flex-shrink:0;border-radius:12px;padding:8px 10px 6px;color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;box-shadow:0 3px #0000002e;min-width:64px;cursor:grab;transition:transform .1s,opacity .1s}.jr-block:active{cursor:grabbing}.jr-block.dragging{opacity:.4}.jr-block.drop-target{transform:scale(1.06);box-shadow:0 0 0 3px #fff,0 3px #0000002e}.jr-block.move{background:#4a90e2}.jr-block.ctrl{background:#f5a623}.jr-block.looks{background:#9b59d0}.jr-block.talk{background:#2bb673}.jr-block.scene{background:#e8506e}.jr-block.sound,.jr-pal-block.sound{background:#e0892b}.jr-block-sound{display:flex;align-items:center;gap:4px;margin-top:3px}.jr-sound-pick{border:none;border-radius:8px;padding:4px 6px;font-size:11px;font-family:inherit;background:#ffffffeb;color:#333;cursor:pointer;max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jr-sound-play{border:none;border-radius:8px;width:24px;height:24px;background:#ffffffeb;color:#2bb673;font-size:11px;cursor:pointer;flex-shrink:0}.jr-block-text{margin-top:3px;width:84px;border:none;border-radius:8px;padding:4px 6px;font-size:12px;font-family:inherit;text-align:center;color:#333}.jr-block-select{margin-top:3px;max-width:96px;border:none;border-radius:8px;padding:4px;font-size:12px;font-family:inherit;color:#333;cursor:pointer}.jr-block-text:disabled,.jr-block-select:disabled{opacity:.7}.jr-block-flip-hint{font-size:18px;font-weight:800;margin-top:4px;opacity:.9}.jr-block-icon{font-size:24px}.jr-block-label{font-size:11px;font-weight:700}.jr-block-counter{display:flex;align-items:center;gap:4px;background:#ffffff40;border-radius:8px;padding:1px 4px;margin-top:2px}.jr-block-counter button{width:22px;height:22px;border:none;border-radius:6px;background:#ffffffd9;color:#333;font-size:16px;font-weight:800;cursor:pointer;line-height:1}.jr-block-counter button:disabled{opacity:.5;cursor:default}.jr-block-counter span{min-width:18px;text-align:center;font-weight:800;font-size:15px}.jr-block-del{position:absolute;top:-7px;inset-inline-start:-7px;width:20px;height:20px;border-radius:50%;border:none;background:#ff5470;color:#fff;font-size:11px;cursor:pointer;display:none}.jr-block:hover .jr-block-del{display:block}.jr-block-del:disabled{display:none}.jr-block-arrow{position:absolute;inset-inline-start:-10px;top:50%;transform:translateY(-50%);color:#c9b89a;font-size:20px;font-weight:800}.jr-loop{display:flex;align-items:center;gap:12px;background:#fff4e0;border:2px solid #ffe0b2;border-radius:12px;padding:6px 14px}.jr-loop-label{font-weight:800;color:#c77f1a;font-size:14px}.jr-loop-counter{display:flex;align-items:center;gap:6px}.jr-loop-counter button{width:30px;height:30px;border:none;border-radius:8px;background:#ffb74d;color:#fff;font-size:18px;font-weight:800;cursor:pointer}.jr-loop-counter button:disabled{opacity:.5;cursor:default}.jr-loop-counter span{min-width:26px;text-align:center;font-weight:800;font-size:18px;color:#c77f1a}.jr-loop-forever{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#b5781f;cursor:pointer}.jr-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1418288c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:900;padding:16px}.jr-modal{background:#fff;border-radius:22px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 70px #00000059;padding:18px}.jr-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.jr-modal-head h2{margin:0;font-size:20px;color:#333}.jr-modal-x{border:none;background:#eef1f7;width:34px;height:34px;border-radius:10px;font-size:16px;cursor:pointer}.jr-modal-actions{display:flex;gap:12px;margin-bottom:16px}.jr-big-action{flex:1;border:none;border-radius:16px;padding:18px;font-size:30px;font-weight:800;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;box-shadow:0 4px #00000026}.jr-big-action span{font-size:15px}.jr-big-action.draw{background:#6a4cff}.jr-big-action.upload{background:#2bb673}.jr-big-action:active{transform:translateY(2px);box-shadow:0 2px #00000026}.jr-modal-subtitle{font-weight:700;color:#8a93a6;font-size:13px;margin:10px 0 8px}.jr-emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:8px}.jr-custom-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px;margin-bottom:6px}.jr-custom-pick{position:relative;aspect-ratio:1}.jr-custom-btn{width:100%;height:100%;border:2px solid #eef1f7;background:#f9fafc;border-radius:14px;cursor:pointer;padding:4px;transition:transform .08s,border-color .12s}.jr-custom-btn:hover{transform:scale(1.06);border-color:#ff6f91}.jr-custom-btn img{width:100%;height:100%;object-fit:contain}.jr-custom-del{position:absolute;top:-6px;inset-inline-end:-6px;width:22px;height:22px;border-radius:50%;border:none;background:#fff;box-shadow:0 1px 4px #0003;font-size:11px;line-height:1;cursor:pointer;opacity:0;transition:opacity .12s}.jr-custom-pick:hover .jr-custom-del{opacity:1}.jr-emoji-pick{aspect-ratio:1;border:2px solid #eef1f7;background:#f9fafc;border-radius:14px;font-size:32px;cursor:pointer;transition:transform .08s,border-color .12s}.jr-emoji-pick:hover{transform:scale(1.08);border-color:#ff6f91}.jr-bg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.jr-bg-pick{border:2px solid #eef1f7;background:#fff;border-radius:14px;padding:6px;cursor:pointer;transition:transform .08s,border-color .12s}.jr-bg-pick:hover{transform:translateY(-2px);border-color:#ff6f91}.jr-bg-swatch{display:block;aspect-ratio:4 / 3;border-radius:10px}.jr-bg-name{display:block;text-align:center;font-size:12px;font-weight:700;color:#555;margin-top:5px}.jr-sample-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.jr-sample-card{border:2px solid #eef1f7;background:linear-gradient(160deg,#fff,#f6f4ff);border-radius:16px;padding:16px 10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .1s,border-color .12s,box-shadow .12s}.jr-sample-card:hover{transform:translateY(-3px);border-color:#6a4cff;box-shadow:0 8px 20px #6a4cff2e}.jr-sample-emoji{font-size:44px}.jr-sample-name{font-weight:800;font-size:15px;color:#3a2f73}.jr-sample-go{font-size:12px;font-weight:700;color:#6a4cff}.jr-guide{max-width:460px;text-align:center}.gd-stage{height:150px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#f3f0ff,#eef4ff);margin:16px;border-radius:16px}.gd-anim{display:flex;align-items:center;gap:10px;font-size:22px}.gd-char{font-size:72px;animation:gd-bounce 1s ease-in-out infinite}@keyframes gd-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-16px)}}.gd-blk{font-size:30px;padding:10px;border-radius:12px;color:#fff;animation:gd-pop 1.2s ease-in-out infinite}.gd-blk.move{background:#4a90e2}.gd-blk.talk{background:#2bb673}.gd-blk:nth-child(2){animation-delay:.2s}.gd-blk:nth-child(3){animation-delay:.4s}@keyframes gd-pop{0%,to{transform:scale(1)}50%{transform:scale(1.15)}}.gd-hat{font-size:26px;animation:gd-fade 2s linear infinite}@keyframes gd-fade{0%,to{opacity:.55}50%{opacity:1}}.gd-msg{font-size:34px}.gd-msg .gd-dot{width:20px;height:20px;border-radius:50%;display:inline-block}.gd-msg .gd-arrow{animation:gd-slide 1s ease-in-out infinite}@keyframes gd-slide{0%,to{transform:translate(0)}50%{transform:translate(6px)}}.gd-play{font-size:34px;letter-spacing:6px;animation:gd-pop 1.4s ease-in-out infinite}.gd-step{padding:4px 22px}.gd-title{font-weight:800;font-size:18px;color:#3a2f73;margin-bottom:6px}.gd-desc{font-size:15px;line-height:1.8;color:#555}.gd-dots{display:flex;justify-content:center;gap:8px;padding:12px}.gd-pip{width:9px;height:9px;border-radius:50%;background:#d4d9e2;cursor:pointer}.gd-pip.active{background:#6a4cff;transform:scale(1.3)}.gd-nav{display:flex;justify-content:space-between;gap:10px;padding:4px 20px 18px}.gd-btn{border:none;border-radius:12px;padding:10px 22px;font-family:inherit;font-weight:800;font-size:15px;cursor:pointer}.gd-btn.primary{background:#6a4cff;color:#fff}.gd-btn.primary:hover{background:#5a3fe0}.gd-btn.ghost{background:#e7ebf1;color:#555}.gd-btn.ghost:disabled{opacity:.4;cursor:default}.jr-app button,.jr-app select,.jr-app .jr-block,.jr-app .jr-char{touch-action:manipulation;-webkit-tap-highlight-color:transparent}@media(max-width:1024px){.jr-scenes{width:96px}.jr-palette{width:250px}.jr-header{gap:6px;padding-inline:8px}.jr-run-controls{gap:6px}}@media(max-width:760px),(max-height:600px){.jr-app{overflow-y:auto;overflow-x:hidden}.jr-header{gap:6px;padding:max(8px,env(safe-area-inset-top)) 10px 8px;flex-wrap:wrap;position:sticky;top:0;z-index:20}.jr-brand-name{display:none}.jr-run-controls{gap:6px;flex-wrap:wrap}.jr-guide-btn,.jr-lang,.jr-fs,.jr-rec{padding:8px 10px;min-height:44px}.jr-main{flex-direction:column;flex:none}.jr-scenes{width:100%;flex-direction:row;border-bottom:1px solid #e6e9f0;padding:8px;overflow-x:auto;overflow-y:hidden;flex:none}.jr-scenes-title{display:none}.jr-scenes-list{flex-direction:row}.jr-scene-card{width:84px;flex-shrink:0}.jr-scene-add{width:64px;flex-shrink:0}.jr-center{flex:none;padding:10px}.jr-stage-toolbar{flex-wrap:wrap;gap:6px}.jr-bg-btn,.jr-music-btn{font-size:12px;padding:8px 12px;min-height:40px}.jr-stage-wrap{flex:none;min-height:0}.jr-stage{width:100%;height:auto;max-height:64vh}.jr-tray{flex:none}.jr-script{flex-direction:column;flex:none;max-height:none;gap:8px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.jr-palette{width:100%}.jr-palette-blocks{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));max-height:none}.jr-pal-block{padding:10px 2px;min-height:56px}.jr-pal-icon{font-size:24px}.jr-lane{flex-direction:column}.jr-hat{width:100%;flex-direction:row;align-items:center;flex-wrap:wrap}.jr-hat-select{flex:1}.jr-lane .jr-loop{flex-direction:row;flex-wrap:wrap}.jr-block{min-width:72px;padding:10px 10px 8px}.jr-block-icon{font-size:28px}.jr-block-counter button{width:32px;height:32px;font-size:18px}.jr-modal{width:96vw;max-height:92vh}.gd-stage{height:120px}.gd-char{font-size:56px}}@media(orientation:landscape)and (max-height:600px){.jr-guide-btn,.jr-lang,.jr-fs,.jr-rec{min-height:32px;padding:5px 10px}.jr-run,.jr-stop{font-size:15px;padding:7px 18px}.jr-scenes{padding:4px 8px}.jr-scene-card{width:56px}.jr-scene-name{display:none}.jr-center{padding:6px 10px;gap:6px}.jr-bg-btn,.jr-music-btn{min-height:32px;padding:5px 10px}.jr-stage{max-height:56vh}}@media(max-width:420px){.jr-run span,.jr-stop span{display:none}.jr-speed button{padding:5px 6px}.jr-tray-chip,.jr-tray-add{width:56px}}@media(hover:none){.jr-block-del,.jr-scene-del,.jr-tray-chip .jr-tray-del{display:block}}.paint-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1418288c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.paint-modal{background:#f7f9fc;border-radius:22px;width:min(960px,100%);max-height:94vh;display:flex;flex-direction:column;box-shadow:0 24px 70px #00000059;overflow:hidden}.paint-head{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:linear-gradient(135deg,#6a4cff,#8e6bff);color:#fff}.paint-head h2{margin:0;font-size:18px}.paint-x{border:none;background:#fff3;color:#fff;width:34px;height:34px;border-radius:10px;font-size:16px;cursor:pointer}.paint-x:hover{background:#ffffff59}.paint-body{display:grid;grid-template-columns:96px 1fr 170px;gap:14px;padding:16px;overflow:auto}.paint-tools{display:flex;flex-direction:column;gap:8px}.paint-tool{display:flex;flex-direction:column;align-items:center;gap:2px;border:2px solid transparent;background:#fff;border-radius:12px;padding:8px 4px;cursor:pointer;box-shadow:0 1px 3px #00000014;transition:transform .08s,border-color .12s}.paint-tool:hover{transform:translateY(-1px)}.paint-tool.active{border-color:#6a4cff;background:#efeaff}.paint-tool:disabled{opacity:.4;cursor:default}.pt-icon{font-size:20px}.pt-label{font-size:11px;color:#555}.paint-sep{height:1px;background:#dde3ec;margin:4px 0}.paint-canvas-wrap{display:flex;align-items:center;justify-content:center;min-width:0}.paint-canvas-box{width:100%;max-height:62vh;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px #00000026;background:#fff}.paint-canvas-box.character{background-color:#fff;background-image:linear-gradient(45deg,#eee 25%,transparent 25%),linear-gradient(-45deg,#eee 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eee 75%),linear-gradient(-45deg,transparent 75%,#eee 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.paint-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.paint-side{display:flex;flex-direction:column;gap:8px}.paint-section-title{font-size:12px;font-weight:700;color:#666;margin-top:4px}.paint-palette{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.swatch{aspect-ratio:1;border-radius:8px;border:2px solid #fff;box-shadow:0 0 0 1px #d4d9e2;cursor:pointer}.swatch.active{box-shadow:0 0 0 3px #6a4cff;transform:scale(1.08)}.paint-custom{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#555;background:#fff;border-radius:10px;padding:6px 10px}.paint-custom input{width:40px;height:28px;border:none;background:none;cursor:pointer}.paint-sizes{display:flex;gap:6px;flex-wrap:wrap}.size-btn{width:48px;height:48px;border:2px solid transparent;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer}.size-btn.active{border-color:#6a4cff;background:#efeaff}.size-btn .dot{border-radius:50%;display:block}.paint-foot{display:flex;justify-content:flex-start;gap:10px;padding:12px 20px;border-top:1px solid #e3e8f0;background:#fff}.paint-save{border:none;background:#2bb673;color:#fff;font-weight:700;font-size:15px;padding:10px 22px;border-radius:12px;cursor:pointer}.paint-save:hover{background:#24a064}.paint-cancel{border:none;background:#e7ebf1;color:#555;font-weight:600;padding:10px 18px;border-radius:12px;cursor:pointer}.paint-cancel:hover{background:#dce1e9}@media(max-width:720px){.paint-body{grid-template-columns:1fr}.paint-tools{flex-direction:row;flex-wrap:wrap}}.mn-screen,.mn-splash{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;font-family:inherit;color:#fff;-webkit-user-select:none;user-select:none}.mn-anim-bg{background:linear-gradient(125deg,#4a2b8c,#6a3fb0,#3a6bd6,#2bb6c4,#6a3fb0);background-size:300% 300%;animation:mn-gradient 18s ease infinite}@keyframes mn-gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.mn-shapes{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0}.mn-shape{position:absolute;font-size:38px;opacity:.18;filter:drop-shadow(0 4px 8px rgba(0,0,0,.2));animation:mn-float 9s ease-in-out infinite}@keyframes mn-float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-26px) rotate(8deg)}}.mn-shape.s0{left:6%;top:18%;animation-delay:0s;font-size:52px}.mn-shape.s1{left:84%;top:12%;animation-delay:1.1s}.mn-shape.s2{left:14%;top:70%;animation-delay:2s;font-size:46px}.mn-shape.s3{left:78%;top:64%;animation-delay:.6s;font-size:50px}.mn-shape.s4{left:46%;top:14%;animation-delay:1.6s}.mn-shape.s5{left:90%;top:40%;animation-delay:2.6s}.mn-shape.s6{left:4%;top:44%;animation-delay:.3s}.mn-shape.s7{left:60%;top:78%;animation-delay:1.9s;font-size:44px}.mn-shape.s8{left:30%;top:40%;animation-delay:3s}.mn-shape.s9{left:68%;top:30%;animation-delay:2.3s}.mn-splash{background:radial-gradient(ellipse at center,#241a45,#120c24 75%);display:flex;align-items:center;justify-content:center;cursor:pointer;animation:mn-splash-fade .5s ease both;z-index:50}@keyframes mn-splash-fade{0%{opacity:0}to{opacity:1}}.mn-splash-inner{text-align:center;animation:mn-pop .9s cubic-bezier(.2,1.4,.4,1) both}@keyframes mn-pop{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.mn-splash-mark{font-size:92px;filter:drop-shadow(0 0 30px rgba(140,110,255,.7));animation:mn-pulse 2.4s ease-in-out infinite}@keyframes mn-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.mn-splash-studio{margin-top:18px;font-size:26px;font-weight:800;letter-spacing:.5px;color:#e7e0ff;opacity:0;animation:mn-rise .8s ease .4s both}@keyframes mn-rise{0%{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:.95}}.mn-splash-skip{position:absolute;bottom:28px;inset-inline-end:30px;font-size:13px;color:#9b90c8;opacity:0;animation:mn-rise .6s ease 1.4s both}.mn-topbar{position:absolute;top:0;inset-inline:0;display:flex;align-items:center;gap:10px;padding:16px 20px;z-index:5}.mn-spacer{flex:1}.mn-brand-mini{font-weight:900;font-size:20px;letter-spacing:.5px;text-shadow:0 2px 6px rgba(0,0,0,.35)}.mn-icon-btn{min-width:42px;height:42px;padding:0 12px;border-radius:12px;border:1.5px solid rgba(255,255,255,.35);background:#ffffff24;color:#fff;font-size:16px;font-weight:800;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .1s,background .15s,border-color .15s}.mn-icon-btn:hover{background:#ffffff42;border-color:#fff;transform:translateY(-1px)}.mn-version{position:absolute;bottom:14px;inset-inline-start:18px;font-size:12px;color:#fff9;z-index:5}.mn-title{display:flex;align-items:center;justify-content:center}.mn-title-center{position:relative;z-index:2;text-align:center;padding:20px}.mn-logo{font-size:clamp(54px,12vw,120px);font-weight:900;line-height:1;letter-spacing:1px;text-shadow:0 6px 0 rgba(0,0,0,.18),0 14px 36px rgba(0,0,0,.4);animation:mn-pop .7s cubic-bezier(.2,1.4,.4,1) both}.mn-logo-latin{font-size:clamp(18px,3vw,30px);font-weight:800;letter-spacing:6px;text-transform:uppercase;opacity:.8;margin-top:4px}.mn-tagline{margin-top:16px;font-size:clamp(14px,2.4vw,20px);font-weight:600;color:#ffffffeb}.mn-start{margin-top:34px;padding:16px 46px;border:none;border-radius:999px;background:linear-gradient(180deg,#ffd54a,#ff9d2e);color:#5a2d00;font-size:clamp(18px,3vw,24px);font-weight:900;cursor:pointer;box-shadow:0 8px #c9701a,0 14px 26px #00000059;animation:mn-breathe 1.8s ease-in-out infinite}.mn-start:hover{filter:brightness(1.05)}.mn-start:active{transform:translateY(5px);box-shadow:0 3px #c9701a,0 8px 16px #00000059}@keyframes mn-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.mn-menu{overflow-y:auto}.mn-menu-body{position:relative;z-index:2;max-width:1080px;margin:0 auto;padding:78px 20px 64px;text-align:center}.mn-menu-title{font-size:clamp(34px,7vw,64px);font-weight:900;margin:6px 0 18px;text-shadow:0 4px 0 rgba(0,0,0,.16),0 10px 26px rgba(0,0,0,.36)}.mn-continue{display:inline-flex;align-items:center;gap:14px;margin:0 auto 26px;padding:14px 26px;border:none;border-radius:18px;background:linear-gradient(180deg,#38e08a,#14b86a);color:#fff;cursor:pointer;box-shadow:0 8px #0c8a4e,0 14px 26px #0000004d;transition:transform .1s,filter .15s}.mn-continue:hover{filter:brightness(1.05);transform:translateY(-1px)}.mn-continue:active{transform:translateY(4px);box-shadow:0 3px #0c8a4e}.mn-continue-emoji{font-size:34px}.mn-continue-txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.mn-continue-txt b{font-size:20px;font-weight:900}.mn-continue-txt small{font-size:13px;opacity:.9}.mn-continue-go{font-size:22px}.mn-sections-label{font-size:15px;font-weight:700;color:#ffffffd9;margin-bottom:14px}.mn-sections{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}@media(max-width:920px){.mn-sections{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.mn-sections{grid-template-columns:1fr}}.mn-card{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:start;padding:18px 16px 16px;border:none;border-radius:20px;background:#fffffff5;color:#1f2540;cursor:pointer;box-shadow:0 10px 26px #00000047;transition:transform .12s,box-shadow .15s;border-top:6px solid var(--accent, #6a3fb0)}.mn-card.first{--accent: #ff8a3c}.mn-card.junior{--accent: #ff5d8f}.mn-card.medium{--accent: #7b61ff}.mn-card.advance{--accent: #2bb6c4}.mn-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px #0000005c}.mn-card-emoji{font-size:44px}.mn-card-name{font-size:20px;font-weight:900;margin-top:6px;color:var(--accent)}.mn-card-desc{font-size:12.5px;color:#4a5170;margin-top:6px;line-height:1.5;min-height:54px}.mn-card-feats{list-style:none;padding:0;margin:10px 0 0}.mn-card-feats li{font-size:12px;color:#2f3559;padding:3px 0}.mn-card-go{margin-top:12px;align-self:flex-end;font-weight:900;font-size:14px;color:var(--accent)}.mn-secondary{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px}.mn-sec-btn{padding:11px 18px;border-radius:12px;border:1.5px solid rgba(255,255,255,.4);background:#ffffff24;color:#fff;font-size:14px;font-weight:700;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s,transform .1s,border-color .15s}.mn-sec-btn:hover{background:#ffffff47;border-color:#fff;transform:translateY(-1px)}.mn-panel-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a081899;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:30;animation:mn-splash-fade .18s ease both}.mn-panel{width:min(440px,92vw);background:#fff;color:#1f2540;border-radius:20px;padding:24px;box-shadow:0 24px 60px #0006;animation:mn-pop .28s cubic-bezier(.2,1.3,.4,1) both}.mn-panel h2{margin:0 0 16px;font-size:22px;font-weight:900}.mn-panel-body{font-size:15px;line-height:1.9;color:#353b5c;white-space:pre-line}.mn-set-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eef0f6;font-size:15px;font-weight:700}.mn-toggle{min-width:84px;padding:8px 16px;border-radius:999px;border:2px solid #d6d9e6;background:#f3f4f9;color:#6b7194;font-weight:800;cursor:pointer;transition:all .15s}.mn-toggle.on{background:#14b86a;border-color:#14b86a;color:#fff}.mn-credits{margin-top:16px;font-size:13px;color:#8089a8}.mn-panel-close{margin-top:20px;width:100%;padding:13px;border:none;border-radius:12px;background:#6a3fb0;color:#fff;font-size:16px;font-weight:800;cursor:pointer}.mn-panel-close:hover{filter:brightness(1.07)}.mn-topbar{padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 14px max(16px,env(safe-area-inset-left))}.mn-version{bottom:max(12px,env(safe-area-inset-bottom));inset-inline-start:max(16px,env(safe-area-inset-left))}.mn-icon-btn{min-width:46px;min-height:46px}.mn-sec-btn{min-height:46px}.mn-start{min-height:52px}.mn-panel-close{min-height:48px}.mn-toggle{min-height:44px}.mn-title{flex-direction:column;overflow-y:auto}.mn-title-center{margin:auto}.mn-menu-body{padding-bottom:max(64px,calc(env(safe-area-inset-bottom) + 48px))}@media(max-height:560px){.mn-logo{font-size:clamp(38px,12vh,72px)}.mn-logo-latin{letter-spacing:4px;margin-top:2px}.mn-tagline{margin-top:10px}.mn-start{margin-top:18px;padding:12px 36px}.mn-menu-body{padding-top:62px}.mn-card-desc{min-height:0}.mn-shape{display:none}}@media(max-width:480px){.mn-menu-body{padding-top:70px}.mn-menu-title{margin:4px 0 14px}.mn-card-desc{min-height:0}.mn-sec-btn{flex:1 1 42%}.mn-continue{width:100%;max-width:360px;justify-content:center}}.lic-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:16px;background:#1e183c8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-family:Vazirmatn,system-ui,sans-serif}.lic-card{width:100%;max-width:420px;background:#fff;border-radius:26px;box-shadow:0 24px 70px #140c3c59;overflow:hidden;text-align:center}.lic-head{padding:26px 24px 20px;color:#fff;background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.22),transparent 70%),linear-gradient(160deg,#6a4cff,#43b0ff)}.lic-head-emoji{font-size:46px;line-height:1}.lic-head h2{margin:10px 0 0;font-size:22px;font-weight:800}.lic-head .lic-brand{margin:6px 0 0;font-size:12px;font-weight:700;opacity:.9;direction:ltr}.lic-body{padding:22px 24px 24px}.lic-label{display:block;text-align:start;font-size:14px;font-weight:700;color:#444;margin-bottom:8px}.lic-input{width:100%;padding:13px 14px;border-radius:14px;border:2px solid #ded9f2;background:#faf9ff;text-align:center;font-size:19px;font-weight:800;letter-spacing:.18em;color:#2b2553;direction:ltr;outline:none;transition:border-color .15s;font-family:Vazirmatn,system-ui,sans-serif}.lic-input:focus{border-color:#6a4cff}.lic-input::placeholder{color:#b9b3d6;letter-spacing:.12em}.lic-error{margin:12px 0 0;padding:9px 12px;border-radius:12px;background:#fdecef;border:1px solid #f5b8c4;color:#c2274b;font-size:13px;font-weight:700;line-height:1.8}.lic-btn{display:block;width:100%;margin-top:16px;padding:13px 20px;border:none;border-radius:14px;font-size:16px;font-weight:800;cursor:pointer;transition:filter .12s,transform .12s;font-family:Vazirmatn,system-ui,sans-serif;text-decoration:none;box-sizing:border-box}.lic-btn:active{transform:scale(.98)}.lic-btn-primary{background:linear-gradient(160deg,#6a4cff,#43b0ff);color:#fff}.lic-btn-primary:hover{filter:brightness(1.08)}.lic-btn-primary:disabled{background:#e4e1f0;color:#a39dc4;cursor:not-allowed;filter:none;transform:none}.lic-btn-site{background:linear-gradient(160deg,#ff9a3d,#ff5f8d);color:#fff}.lic-btn-site:hover{filter:brightness(1.06)}.lic-note{margin:16px 0 0;font-size:12px;color:#8a85a8;line-height:2}.lic-note a{color:#6a4cff;font-weight:800;text-decoration:none}.lic-note a:hover{text-decoration:underline}.lic-buy{margin-top:16px;padding:14px 16px;border-radius:16px;background:#f4f1ff;border:1px solid #e2dcf6;text-align:center}.lic-buy-title{font-size:13.5px;font-weight:800;color:#43406b}.lic-buy-tel{display:inline-block;margin-top:6px;font-size:22px;font-weight:900;color:#6a4cff;text-decoration:none;letter-spacing:.04em;direction:ltr}.lic-buy-tel:hover{color:#5638e0}.lic-buy-site{margin-top:4px;font-size:12px;color:#8a85a8}.lic-buy-site a{color:#6a4cff;font-weight:800;text-decoration:none}.lic-buy-site a:hover{text-decoration:underline}.lic-later{display:block;width:100%;margin-top:6px;padding:8px;border:none;background:none;color:#a39dc4;font-size:12px;font-weight:700;cursor:pointer;font-family:Vazirmatn,system-ui,sans-serif}.lic-later:hover{color:#6a4cff}.lic-done{padding:30px 24px 28px}.lic-done-emoji{font-size:54px}.lic-done h3{margin:12px 0 0;font-size:18px;font-weight:800;color:#1f9d61}.lic-done p{margin:6px 0 0;font-size:13.5px;color:#777}.lic-done .lic-btn{max-width:220px;margin-inline:auto;background:linear-gradient(160deg,#2fbd76,#1f9d61);color:#fff}.trial-lock{position:fixed;top:0;right:0;bottom:0;left:0;z-index:8000;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto;background:radial-gradient(circle at 25% 15%,rgba(106,76,255,.18),transparent 55%),radial-gradient(circle at 80% 90%,rgba(255,95,141,.14),transparent 50%),linear-gradient(165deg,#f6f4ff,#eef2ff 60%,#fdf1f6);font-family:Vazirmatn,system-ui,sans-serif}.trial-lock .lic-card{max-width:470px}.trial-lock-text{margin:0;font-size:14.5px;color:#555;line-height:2.1}.trial-badge{position:fixed;top:14px;inset-inline-start:14px;z-index:850;padding:6px 13px;border-radius:999px;background:#1e183cb8;border:1px solid rgba(255,200,90,.55);color:#ffd98a;font-size:11.5px;font-weight:800;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-shadow:0 4px 14px #00000040;font-family:Vazirmatn,system-ui,sans-serif}.activate-fab{position:fixed;bottom:14px;inset-inline-end:14px;z-index:850;border:none;background:#282846d1;color:#fff;font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;cursor:pointer;box-shadow:0 4px 14px #0000004d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-family:Vazirmatn,system-ui,sans-serif}.activate-fab:hover{background:#6a4cffeb}@media(max-width:480px){.lic-head h2{font-size:19px}.lic-input{font-size:17px}}.launcher{height:100%;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 30% 20%,#3a2f73,#211b45 55%,#120f2a);overflow:auto;padding:24px;font-family:Vazirmatn,system-ui,sans-serif}.launcher *,.launcher-lang,.mode-switch-fab{font-family:Vazirmatn,system-ui,sans-serif!important}.launcher-stars{position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(2px 2px at 20% 30%,#fff,transparent),radial-gradient(2px 2px at 70% 60%,#fff,transparent),radial-gradient(1px 1px at 40% 80%,#fff,transparent),radial-gradient(1.5px 1.5px at 85% 25%,#fff,transparent),radial-gradient(1px 1px at 55% 15%,#fff,transparent),radial-gradient(2px 2px at 10% 70%,#fff,transparent);opacity:.5;pointer-events:none}.launcher-lang{position:absolute;top:18px;inset-inline-end:18px;z-index:2;border:none;background:#ffffff2e;color:#fff;font-weight:800;font-size:14px;padding:9px 16px;border-radius:12px;cursor:pointer;min-width:48px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.launcher-lang:hover{background:#ffffff52}.launcher-inner{position:relative;text-align:center;max-width:880px;width:100%}.launcher-title{font-size:52px;font-weight:800;color:#fff;margin:0;text-shadow:0 4px 20px rgba(0,0,0,.4)}.launcher-sub{color:#c9c4e8;font-size:20px;margin:8px 0 28px}.launcher-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.launcher-card{border:none;border-radius:24px;padding:28px 24px;cursor:pointer;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 14px 40px #00000059;transition:transform .14s,box-shadow .14s}.launcher-card:hover{transform:translateY(-6px);box-shadow:0 22px 56px #00000073}.launcher-card.junior{background:linear-gradient(160deg,#ff9a3d,#ff5f8d)}.launcher-card.advance{background:linear-gradient(160deg,#6a4cff,#43b0ff)}.lc-emoji{font-size:64px}.lc-name{font-size:26px;font-weight:800}.lc-desc{font-size:15px;line-height:1.9;opacity:.95;max-width:340px}.lc-features{list-style:none;margin:10px 0 0;text-align:start;font-size:15px;line-height:1.8;display:flex;flex-direction:column;gap:8px;background:#ffffff26;border-radius:14px;padding:14px 18px;width:100%}.lc-go{margin-top:14px;font-weight:800;font-size:16px;background:#ffffff40;padding:8px 20px;border-radius:12px}.launcher-foot{color:#9b96c2;font-size:13px;margin-top:26px}.mode-switch-fab{position:fixed;bottom:14px;inset-inline-start:14px;z-index:800;border:none;background:#282846d1;color:#fff;font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;cursor:pointer;box-shadow:0 4px 14px #0000004d;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.mode-switch-fab:hover{background:#3c3c64eb}@media(max-width:680px){.launcher-cards{grid-template-columns:1fr}}
