:root{--bg:#0b1014;--card:#111920;--line:#25313a;--txt:#edf3f1;--mut:#91a19e;--inp:#0c1318;--stage:#080d11;--alt:#1a252b;--gold:#286c5d;--gold2:#70c9ad}[data-theme=light]{--bg:#eef3f1;--card:#fff;--line:#d8e2de;--txt:#1b2926;--mut:#667772;--inp:#f7faf9;--stage:#dce7e2;--alt:#edf4f1;--gold:#276b5b;--gold2:#2b806b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--txt);font-family:Segoe UI,Cairo,Tahoma,sans-serif;font-size:13px}.app{display:grid;grid-template-columns:minmax(350px,390px) minmax(0,1fr);grid-template-rows:58px minmax(0,1fr) 170px;gap:1px;height:100vh;min-height:620px;background:var(--line)}header{grid-column:1/3;display:flex;align-items:center;gap:12px;padding:0 20px;background:var(--card)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-names{display:flex;align-items:baseline;gap:7px;direction:ltr;white-space:nowrap}.brand-names strong{color:var(--gold2);font-size:17px;font-weight:850;letter-spacing:1.4px}.brand-names span{font-family:Amiri,Noto Naskh Arabic,serif;font-size:17px;font-weight:700}.brand-copy{display:flex;flex-direction:column;gap:2px;white-space:nowrap}.brand-copy>span{font-size:10px;font-weight:650;letter-spacing:.2px}.brand-copy small{margin:0;color:var(--mut);font-size:9px;line-height:1.2}.sp{flex:1}aside{grid-row:2/4;overflow:auto;padding:16px 18px;background:var(--card)}main{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:24px;background:radial-gradient(ellipse at center,#111c20 0,var(--stage) 72%)}[data-theme=light] main{background:radial-gradient(ellipse at center,#f4f8f6 0,var(--stage) 78%)}canvas{display:block;max-width:100%;max-height:100%;border:1px solid #ffffff24;border-radius:10px;box-shadow:0 18px 55px #0005}.preview-tools{position:absolute;top:24px;right:24px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 12px;align-self:flex-end;max-width:100%;margin:0}.preview-tools button{width:auto;height:30px;margin:0;padding:0 10px;font-size:11px}.preview-tools label{margin:0;white-space:nowrap}.preview-tools .preview-select{display:flex;align-items:center;gap:6px;font-size:11px}.preview-tools .preview-select select{width:auto;min-width:100px;height:30px;margin:0;padding:0 7px;font-size:11px}.preview-tools input[type=checkbox]{width:auto;margin:0}.canvas-shell{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;max-height:calc(100% - 44px)}.canvas-shell>canvas{max-width:100%;max-height:100%;object-fit:contain}.safe-guides{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.safe-guides[data-profile=basic]{background:linear-gradient(to bottom,transparent 33.2%,#fff7 33.3%,transparent 33.5%,transparent 66.5%,#fff7 66.6%,transparent 66.8%)}.safe-guides:before{content:"";position:absolute;top:5%;right:5%;bottom:5%;left:5%;border:1px dashed #fff9}.safe-guides[data-profile=reels]:before{top:12%;right:13%;bottom:30%;left:5%;border-color:#72f0c3}.safe-guides[data-profile=tiktok]:before{top:14%;right:18%;bottom:22%;left:5%;border-color:#72f0c3}.safe-guides[data-profile=shorts]:before{top:10%;right:15%;bottom:23%;left:5%;border-color:#72f0c3}.safe-guides:before{z-index:1}.safe-band{position:absolute;background:#ff53672b;pointer-events:none}.safe-guides[data-profile=reels] .safe-top{top:0;right:0;left:0;height:12%}.safe-guides[data-profile=reels] .safe-bottom{right:0;bottom:0;left:0;height:30%}.safe-guides[data-profile=reels] .safe-side{top:12%;right:0;bottom:30%;width:13%}.safe-guides[data-profile=tiktok] .safe-top{top:0;right:0;left:0;height:14%}.safe-guides[data-profile=tiktok] .safe-bottom{right:0;bottom:0;left:0;height:22%}.safe-guides[data-profile=tiktok] .safe-side{top:14%;right:0;bottom:22%;width:18%}.safe-guides[data-profile=shorts] .safe-top{top:0;right:0;left:0;height:10%}.safe-guides[data-profile=shorts] .safe-bottom{right:0;bottom:0;left:0;height:23%}.safe-guides[data-profile=shorts] .safe-side{top:10%;right:0;bottom:23%;width:15%}.social-ui-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;overflow:hidden;color:#fff;pointer-events:none}.social-brand-mark{position:absolute;top:4%;left:5%;display:grid;width:clamp(20px,5.6vw,28px);aspect-ratio:1;place-items:center;border:1px solid #ffffffb3;border-radius:8px;background:#05060770;filter:drop-shadow(0 1px 3px #000b)}.social-brand-mark svg{width:72%;height:72%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.social-brand-dot{fill:currentColor;stroke:none}.social-ui-overlay[data-profile=reels] .social-brand-mark{border:0;background:linear-gradient(135deg,#8154d9,#e63a85 55%,#f6a044)}.social-ui-overlay[data-profile=tiktok] .social-brand-mark{border-color:#f8f8f8;background:#080808}.social-ui-overlay[data-profile=tiktok] .social-brand-mark svg{filter:drop-shadow(-1px 0 #25f4ee) drop-shadow(1px 0 #fe2c55)}.social-ui-overlay[data-profile=shorts] .social-brand-mark{border-color:#ff3545;background:#21070b}.social-actions{position:absolute;z-index:4;left:auto;right:1.5%;bottom:3.5%;display:flex;flex-direction:column;align-items:center;gap:3px;filter:drop-shadow(0 1px 3px #000b)}.social-action{display:grid;width:28px;height:28px;place-items:center}.social-action svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.social-action small{margin-top:-1px;color:#fff;font-size:7px;font-weight:700;line-height:1;text-shadow:0 1px 2px #000}.social-topbar{position:absolute;top:2.5%;left:50%;z-index:3;display:flex;transform:translate(-50%);align-items:center;gap:12px;color:#ffffffba;font-size:clamp(7px,1.8vw,11px);white-space:nowrap;text-shadow:0 1px 3px #000}.social-topbar b{color:#fff;border-bottom:1.5px solid #fff;padding-bottom:3px}.social-short-title{position:absolute;top:2.5%;left:3.5%;z-index:3;transform:none;display:flex;align-items:center;gap:5px;font-size:clamp(9px,2vw,13px);font-weight:700;text-shadow:0 1px 3px #000}.shorts-top-icons{position:absolute;left:270%;top:50%;display:flex;transform:translateY(-50%);align-items:center;gap:8px}.social-bottom-nav{position:absolute;right:0;bottom:0;left:0;z-index:3;display:grid;height:15%;grid-template-columns:repeat(5,1fr);align-items:center;border-top:1px solid #ffffff24;background:#080808bf;color:#fff;font-size:clamp(5px,1.25vw,8px);text-align:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.social-bottom-nav i{position:relative;width:38%;height:42%;justify-self:center;border:1.5px solid #fff;border-radius:5px}.social-topbar>div{display:flex;align-items:center;gap:9px}.social-top-camera,.social-top-search,.social-top-live{width:clamp(10px,3vw,16px);height:clamp(10px,3vw,16px);fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.social-top-search{position:absolute;right:4%}.social-top-camera,.social-top-live{position:absolute;left:4%}.reels-topbar,.tiktok-topbar{width:92%;justify-content:center}.reels-topbar b,.tiktok-topbar b{padding:0 0 3px}.reels-side-profile,.tiktok-side-profile{position:relative;display:block;width:24px;aspect-ratio:1;margin-bottom:3px}.reels-side-profile>span,.tiktok-side-profile>span{display:block;width:100%;height:100%;border:1.5px solid #fff;border-radius:50%;background:linear-gradient(135deg,#3c6974,#d7cfa4)}.reels-side-profile i,.tiktok-side-profile i{position:absolute;bottom:-7px;left:50%;display:grid;width:14px;height:14px;transform:translate(-50%);place-items:center;border-radius:50%;background:#ff3b72;color:#fff;font-size:11px;font-style:normal;line-height:1}.tiktok-side-profile i{background:#fe2c55}.social-music-disc{position:relative;display:block;width:20px;aspect-ratio:1;margin-top:1px;border:2px solid #232323;border-radius:50%;background:conic-gradient(#111,#666,#111,#777,#111);box-shadow:0 1px 5px #0009;animation:socialDisc 8s linear infinite}.social-music-disc span{position:absolute;top:34%;right:34%;bottom:34%;left:34%;border-radius:50%;background:#b5c8c1}@keyframes socialDisc{to{transform:rotate(360deg)}}.social-detail-panel{position:absolute;right:5%;bottom:12.5%;left:5%;z-index:5;display:flex;width:72%;flex-direction:column;gap:2px;color:#fff;font-size:8px;line-height:1.25;text-align:right;text-shadow:0 1px 3px #000}.social-detail-panel b{font-size:9px}.social-music-line{margin-top:3px;font-weight:500;white-space:nowrap}.reels-detail{right:auto;bottom:3.5%;left:2.5%;width:68%;font-size:9px;line-height:1.35;text-align:left;direction:rtl}.reels-detail b{font-size:10px}.tiktok-detail{right:auto;bottom:3.5%;left:2.5%;width:68%;font-size:9px;line-height:1.35;text-align:left;direction:rtl}.tiktok-detail b{font-size:10px}.shorts-detail{right:auto;bottom:3.5%;left:2.5%;width:68%;font-size:9px;line-height:1.35;text-align:left;direction:rtl}.shorts-detail b{font-size:10px}.nav-item{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:clamp(5px,1.25vw,8px)}.nav-item svg{width:clamp(9px,2.8vw,14px);height:clamp(9px,2.8vw,14px);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav-home svg{fill:currentColor;stroke:none}.nav-profile>span{width:clamp(11px,3vw,15px);height:clamp(11px,3vw,15px);border:1px solid #fff;border-radius:50%;background:linear-gradient(135deg,#8da7a1,#e0d6a9)}.nav-profile i{display:none}.social-bottom-nav i:not(.tiktok-create){border:0}.tiktok-create{position:relative;width:clamp(28px,8vw,38px)!important;height:55%!important;border:0!important;border-radius:5px!important;background:#fff;color:#111;box-shadow:-3px 0 #25f4ee,3px 0 #fe2c55}.tiktok-create b{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:16px;line-height:1}.social-ui-overlay[data-profile=reels] .social-like{color:#ff789d}.social-ui-overlay[data-profile=tiktok] .social-like{color:#ff5276}.social-ui-overlay[data-profile=shorts] .social-like{color:#ff4d5e}.social-ui-overlay[data-profile=reels] .social-brand-mark{top:4.5%;left:4.5%}.social-ui-overlay[data-profile=reels] .social-actions{bottom:3.5%;right:1.5%;left:auto;gap:3px}.social-ui-overlay[data-profile=reels] .social-action{width:28px;height:28px}.social-ui-overlay[data-profile=reels] .social-action small{font-size:8px}.social-ui-overlay[data-profile=reels] .reels-side-profile{width:30px;margin-bottom:6px}.social-ui-overlay[data-profile=reels] .social-bottom-nav{height:15%;bottom:0;background:#050505dd}.social-ui-overlay[data-profile=reels] .social-topbar{top:2.5%;gap:16px}.social-ui-overlay[data-profile=reels] .social-action svg{width:82%;height:82%}.social-ui-overlay[data-profile=tiktok] .social-topbar{top:2.5%;font-size:clamp(8px,1.8vw,11px)}.social-ui-overlay[data-profile=tiktok] .tiktok-topbar{display:grid;width:92%;grid-template-columns:28px 1fr 28px;align-items:center;justify-items:center}.social-ui-overlay[data-profile=tiktok] .tiktok-topbar .social-top-search{position:static;grid-column:1;grid-row:1;justify-self:start}.social-ui-overlay[data-profile=tiktok] .tiktok-topbar>div{grid-column:2;grid-row:1;justify-content:center}.social-ui-overlay[data-profile=tiktok] .tiktok-topbar .social-top-live{position:static;grid-column:3;grid-row:1;justify-self:end}.social-ui-overlay[data-profile=tiktok] .social-actions{right:1.5%;left:auto;bottom:3.5%;gap:3px}.social-ui-overlay[data-profile=tiktok] .social-action{width:28px;height:28px}.social-ui-overlay[data-profile=tiktok] .social-action svg{width:92%;height:92%;stroke-width:1.55}.social-ui-overlay[data-profile=tiktok] .social-action small{margin-top:-1px;font-size:8px}.social-ui-overlay[data-profile=tiktok] .tiktok-side-profile{width:30px;margin-bottom:6px}.social-ui-overlay[data-profile=tiktok] .tiktok-side-profile i{bottom:-6px;width:15px;height:15px;font-size:12px}.social-ui-overlay[data-profile=tiktok] .social-music-disc{display:block;width:22px;border-width:2px}.social-ui-overlay[data-profile=tiktok] .tiktok-detail{right:auto;bottom:3.5%;left:2.5%;width:68%;font-size:9px;line-height:1.25;text-align:left;direction:rtl}.social-ui-overlay[data-profile=tiktok] .tiktok-detail b{display:block;margin-bottom:2px;font-size:10px;text-align:left}.social-ui-overlay[data-profile=tiktok] .social-detail-panel span{display:block;max-width:100%;direction:rtl;text-align:left;font-size:9px}.social-ui-overlay[data-profile=tiktok] .social-bottom-nav{height:15%;bottom:0;border-top-color:#fff2;background:#050505ef}.social-ui-overlay[data-profile=shorts] .social-actions{bottom:3.5%;right:1.5%;left:auto;gap:3px}.social-ui-overlay[data-profile=shorts] .social-action{width:28px;height:28px}.social-ui-overlay[data-profile=shorts] .social-action small{font-size:8px}.social-ui-overlay[data-profile=shorts] .social-bottom-nav{height:15%;bottom:0;grid-template-columns:repeat(4,1fr);background:#050505f0}.social-short-title{display:flex;align-items:center;gap:5px;font-size:clamp(8px,1.8vw,12px)}.social-short-title svg{width:15px;height:15px;fill:#f03;stroke:#fff;stroke-width:1.2}.social-short-title svg path{fill:#fff;stroke:none}.social-ui-overlay[data-profile=tiktok] .social-brand-mark{top:5%;left:4.5%}.social-ui-overlay[data-profile=shorts] .social-brand-mark{top:4.5%;left:4.5%}.reels-create{position:relative;width:clamp(20px,5.8vw,28px)!important;height:55%!important;border:0!important;border-radius:7px!important;background:#fff;color:#111;box-shadow:0 0 0 2px #161616}.reels-create b{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:14px;line-height:1}.phone-view .canvas-shell{height:min(78vh,720px);aspect-ratio:9/19.5;max-width:90%;padding:8px;border:7px solid #252b2e;border-radius:34px;background:#050607;box-shadow:0 18px 55px #0007;isolation:isolate}.phone-screen{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:22px;background:#050607}.phone-view:not(.phone-safe-preview) .phone-screen:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background:linear-gradient(180deg,#05060780 0%,#05060720 10%,transparent 18%,transparent 78%,#05060720 88%,#05060780 100%);content:"";pointer-events:none}.phone-media-column{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}.phone-content{position:relative;display:flex;width:100%;height:auto;max-width:100%;max-height:calc(100% - 20px);align-items:center;justify-content:center;overflow:hidden}.phone-content canvas{width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none}.phone-content .safe-guides{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:0}.phone-platform-nav{position:relative;z-index:7;width:100%;max-width:100%;height:42px;flex:none;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;border-top:1px solid #ffffff20;background:#080808e8;color:#fff;text-align:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.phone-platform-short .phone-platform-nav,.phone-platform-nav.phone-platform-shorts{grid-template-columns:repeat(4,1fr)}.phone-platform-nav .nav-item{height:100%;padding:2px 0;font-size:7px}.phone-platform-nav .nav-item svg{width:13px;height:13px}.phone-platform-nav.reels-create,.phone-platform-nav .reels-create{width:24px;justify-self:center}.phone-view canvas{border:0;border-radius:0;box-shadow:none}.phone-view:not(.phone-safe-preview) .phone-content canvas{transform:translateY(-17px) scale(.93);border-radius:12px}.phone-view .phone-screen canvas{width:auto;height:100%;max-width:100%;max-height:100%;object-fit:contain}.phone-status-bar{position:absolute;top:15px;left:16px;right:16px;z-index:3;display:flex;align-items:center;justify-content:space-between;height:18px;color:#fff;font-size:10px;line-height:1;text-shadow:0 1px 3px #000;pointer-events:none}.phone-clock{font-weight:700;letter-spacing:.2px;direction:ltr}.phone-notch{position:absolute;top:-5px;left:50%;display:grid;width:62px;height:17px;transform:translate(-50%);place-items:center;border:1px solid #1c2024;border-radius:12px;background:#030405}.phone-notch i{width:5px;height:5px;margin-left:35px;border-radius:50%;background:#13263a;box-shadow:inset 0 0 2px #6d8494}.phone-status-icons{display:flex;align-items:center;gap:4px;direction:ltr}.phone-safe-preview .phone-status-bar{top:12px;left:16px;right:16px;z-index:8}.phone-safe-preview .social-ui-overlay{padding-top:0}.phone-safe-preview .social-topbar,.phone-safe-preview .social-short-title{top:2.5%}.phone-player-topbar{position:absolute;top:39px;right:12px;left:12px;z-index:4;display:flex;min-height:30px;isolation:isolate;direction:rtl;align-items:center;gap:6px;color:#fff;text-shadow:0 1px 3px #000;pointer-events:none}.phone-player-topbar:before{position:absolute;top:-31px;right:-4px;bottom:-12px;left:-4px;z-index:-1;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#050607e8 0%,#0506079c 65%,transparent 100%);content:""}.phone-player-top-action{display:grid;width:24px;height:24px;flex:none;place-items:center;border:1px solid #ffffff30;border-radius:50%;background:#111318a8;box-shadow:0 2px 6px #0005;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.phone-player-top-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.phone-player-heading{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.phone-player-heading strong,.phone-player-heading small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-player-heading strong{font-size:10px;font-weight:650}.phone-player-heading small{color:#ffffffd1;font-size:8px}.phone-video-player{position:absolute;right:12px;bottom:42px;left:12px;z-index:5;padding:3px 9px 2px;border:1px solid #ffffff24;border-radius:12px;background:linear-gradient(180deg,#101114b8,#050607e8);box-shadow:0 7px 18px #0009;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto}.phone-player-time{display:flex;justify-content:space-between;margin-bottom:3px;color:#ffffffd1;font-size:9px;font-variant-numeric:tabular-nums;direction:ltr}.phone-player-progress{height:3px;margin-bottom:3px;border-radius:4px;background:#fff5;overflow:hidden}.phone-player-progress i{position:relative;display:block;height:100%;border-radius:4px;background:#f4f4f4;box-shadow:0 0 4px #fff6}.phone-player-progress i:after{position:absolute;top:50%;right:-3px;width:6px;height:6px;transform:translateY(-50%);border-radius:50%;background:#fff;content:""}.phone-player-controls{display:grid;direction:ltr;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:3px}.phone-player-controls button{display:grid;width:min(100%,26px);height:auto;aspect-ratio:1;min-width:0;margin:0;padding:4px;justify-self:center;place-items:center;border:1px solid #ffffff2b;border-radius:50%;background:#ffffff16;color:#fff;box-shadow:0 2px 6px #0007;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:transform .15s ease,border-color .15s ease,background .15s ease}.phone-player-controls button:disabled{opacity:.4}.phone-player-controls button:not(:disabled):active{transform:scale(.92)}.phone-player-controls button:focus-visible{outline:2px solid #70c9ad;outline-offset:2px}.phone-player-controls svg{width:100%;height:100%;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.phone-player-controls svg text{fill:#fff;stroke:none;font-size:8px;font-weight:700;text-anchor:middle}.phone-player-controls .phone-skip-button{width:min(100%,28px);height:auto;aspect-ratio:1;padding:4px;border-color:#ffffff38;border-radius:50%;background:#ffffff18;color:#fff;box-shadow:0 2px 7px #0008}.phone-player-controls .phone-skip-button svg{fill:none;stroke-width:1.8}.phone-player-controls .phone-play-button{width:min(100%,33px);height:auto;aspect-ratio:1;padding:7px;border-color:#fff;background:#f4f4f4;color:#151515;box-shadow:0 2px 8px #0009}.phone-cellular,.phone-wifi{width:14px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.phone-cellular{width:15px}.phone-battery-percent{font-size:9px;font-weight:650}.phone-battery{position:relative;width:17px;height:9px;padding:1px;border:1px solid #fff;border-radius:3px}.phone-battery:after{position:absolute;top:2px;right:-3px;width:2px;height:3px;border-radius:0 2px 2px 0;background:#fff;content:""}.phone-battery i{display:block;width:78%;height:100%;border-radius:1px;background:#fff}.phone-navigation{position:absolute;bottom:8px;left:50%;z-index:3;display:grid;width:calc(100% - 30px);height:30px;transform:translate(-50%);grid-template-columns:repeat(3,1fr);align-items:center;border:0;border-top:1px solid #ffffff35;border-radius:0 0 16px 16px;background:linear-gradient(180deg,transparent,#050607ed 48%);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none}.phone-navigation svg{width:24px;height:24px;justify-self:center;padding:6px;border:1px solid #ffffff12;border-radius:9px;background:#ffffff0b;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #0008)}.phone-home-indicator{position:absolute;bottom:10px;left:50%;z-index:3;width:36px;height:4px;transform:translate(-50%);border-radius:4px;background:#fff;box-shadow:0 1px 3px #0008;pointer-events:none}.device-android .canvas-shell{border-radius:30px}.device-android .canvas-shell:before,.device-android .canvas-shell:after{position:absolute;z-index:1;width:3px;border-radius:2px;background:#4b5156;content:""}.device-android .canvas-shell:before{top:82px;right:-10px;height:48px}.device-android .canvas-shell:after{top:82px;left:-10px;height:32px;box-shadow:0 42px #4b5156}.device-android .phone-notch{top:-3px;width:14px;height:14px;border-radius:50%}.device-android .phone-notch i{display:none}.device-iphone .canvas-shell{border:8px solid #555b61;border-radius:42px}.device-iphone .phone-screen{top:8px;right:8px;bottom:8px;left:8px;border-radius:34px}.device-iphone .phone-notch{top:1px;width:62px;height:18px}.device-iphone .phone-notch i{display:none}.device-iphone .phone-home-indicator{bottom:11px}textarea{width:100%;min-height:100px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:var(--inp);color:inherit;font:inherit;line-height:1.7;resize:vertical}textarea:disabled{opacity:.55}footer{padding:12px 18px;background:var(--card)}h3{margin:22px 0 9px;padding:0 9px 2px 0;border-right:2px solid var(--gold2);font-size:13px;font-weight:700;color:var(--txt)}h3.subheading{margin:16px 0 7px;border:0;padding:0;color:var(--gold2);font-size:12px}label{display:block;margin:10px 0 4px;color:var(--mut);font-size:12px}input,select,button{width:100%;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:var(--inp);color:inherit;font:inherit;outline:none}input:focus,select:focus{border-color:var(--gold2);box-shadow:0 0 0 2px color-mix(in srgb,var(--gold2) 20%,transparent)}input[type=color]{padding:3px}input[type=range]{height:20px;padding:0;accent-color:var(--gold2)}input[type=checkbox]{width:auto;height:auto;accent-color:var(--gold2)}input[type=file]{height:auto;padding:6px}button{margin-top:10px;border:0;background:var(--gold);color:#fff;font-weight:650;cursor:pointer;transition:filter .16s,transform .16s,background .16s}button:hover{filter:brightness(1.12)}button:active{transform:translateY(1px)}button:disabled{opacity:.42;cursor:not-allowed}button.g{border:1px solid var(--line);background:transparent;color:var(--txt);font-weight:550}button.g:hover{background:var(--alt)}.row{display:flex;gap:9px}.row>div{flex:1;min-width:0}.ratio-batch-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;margin-top:8px}.ratio-batch-options label{display:flex;align-items:center;gap:5px;margin:0;padding:5px;border:1px solid var(--line);border-radius:7px;background:var(--inp);white-space:nowrap}.ratio-batch-options input[type=checkbox]{width:auto;margin:0}.tabs{position:sticky;top:-16px;z-index:4;display:flex;margin:-16px -18px 0;padding:8px 10px 0;border-bottom:1px solid var(--line);background:var(--card)}.tabs button{flex:1;width:auto;height:38px;margin:0;padding:0 3px;border:0;border-bottom:2px solid transparent;border-radius:7px 7px 0 0;background:none;color:var(--mut);font-size:12px;font-weight:650;white-space:nowrap}.tabs button.on{border-bottom-color:var(--gold2);background:var(--alt);color:var(--txt)}.list{max-height:190px;overflow:auto;margin-top:7px;border:1px solid var(--line);border-radius:8px;background:var(--inp)}.list div{padding:8px 12px;border-bottom:1px solid var(--line);cursor:pointer}.list div:last-child{border-bottom:0}.list div:hover{background:var(--alt)}.list div.on{border-right:3px solid var(--gold2);background:var(--alt);font-weight:650}.gal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:7px}.card{overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--inp);cursor:pointer;transition:border-color .16s,transform .16s,box-shadow .16s}.card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0002}.card.on{outline:2px solid var(--gold2);outline-offset:1px}.card .th{position:relative;aspect-ratio:16/10;background:#05090b}.card .th>*{display:block;width:100%;height:100%;object-fit:cover}.card .th .bg-favorite{position:absolute;top:6px;right:6px;z-index:1;display:grid;width:32px!important;height:32px!important;margin:0;padding:0;place-items:center;border:1px solid #ffffff80;border-radius:50%;background:#0009;color:#ffe08a;font-size:21px;line-height:1}.card span{display:block;overflow:hidden;padding:7px 8px;color:var(--mut);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.card .x{position:absolute;top:4px;left:4px;width:22px;height:22px;padding:0;border-radius:6px;background:#000b;color:#fff;text-align:center;line-height:22px}.drop{display:block;margin:12px 0 0;padding:22px 12px;border:1px dashed var(--mut);border-radius:9px;background:var(--inp);color:var(--txt);text-align:center;cursor:pointer}.drop:hover{border-color:var(--gold2)}.drop b{display:block;font-size:13px}.drop span{display:block;margin-top:5px;color:var(--mut);font-size:12px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}.chip{width:auto;height:30px;margin:0;padding:0 11px;border:1px solid var(--line);border-radius:20px;font-size:12px}small{display:block;margin-top:8px;color:var(--mut);font-size:12px;line-height:1.65}small a{color:var(--gold2);text-decoration:none}small a:hover{text-decoration:underline}.theme-toggle{display:grid;width:38px;min-width:38px;height:38px;margin:0;padding:0;place-items:center;border-radius:10px}.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hb{width:auto;height:36px;margin:0;padding:0 15px;border-radius:8px}.history-button{height:34px;white-space:nowrap}.sw{display:flex;gap:7px}.sw i{width:17px;height:17px;border:2px solid transparent;border-radius:50%;cursor:pointer}.sw i.on{border-color:var(--txt);box-shadow:0 0 0 2px var(--card)}.tl{display:flex;height:34px;margin-top:11px;border:1px solid var(--line);border-radius:7px;overflow:hidden;direction:rtl}.timeline-progress{direction:rtl}.tl div{border-right:1px solid var(--card);background:#244743;cursor:pointer}.tl div:nth-child(2n){background:#2d5a55}.tl div:hover{background:var(--gold2)}.bar{height:5px;margin-top:9px;border-radius:5px;background:var(--line);overflow:hidden}.bar i{display:block;height:100%;border-radius:5px;background:var(--gold2)}.wave-container{position:relative;margin-top:8px}.waveform{width:100%;height:48px;max-height:none;margin-top:0;border:1px solid var(--line);border-radius:6px;background:var(--inp);box-shadow:none;cursor:crosshair}.wave-playhead{position:absolute;top:2px;bottom:2px;width:2px;transform:translate(1px);background:#fff;pointer-events:none}.autosave-status{margin-inline-start:auto;color:var(--mut);font-size:10px;white-space:nowrap}.recovery-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#0009}.recovery-card{width:min(440px,100%);padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 20px 70px #0008}.recovery-card h2{margin:0 0 8px;font-size:18px}.recovery-card p{color:var(--mut);line-height:1.7}.warning-list{margin-top:12px;padding:10px;border:1px solid #d5a84066;border-radius:8px;background:#b7831712}.warning-list b{color:#d5a840}.warning-list small{margin-top:5px}.export-progress{margin-top:10px}.export-stopped-alert{position:sticky;top:42px;z-index:5;display:flex;align-items:flex-start;gap:8px;margin:10px 0;padding:10px;border:1px solid #d5a84088;border-radius:9px;background:var(--card);box-shadow:0 6px 18px #0003}.export-stopped-alert>div{flex:1;min-width:0}.export-stopped-alert b,.export-stopped-alert span{display:block}.export-stopped-alert b{color:#d5a840}.export-stopped-alert span{margin-top:3px;color:var(--txt);font-size:12px;line-height:1.55}.export-stopped-alert button{flex:0 0 32px;width:32px;height:30px;margin:0;padding:0;font-size:20px;line-height:1}.timeline-controls button{width:120px;margin-top:0;flex:0 0 auto}.timeline-time{align-self:center;white-space:nowrap}.timeline-message{align-self:center;overflow:hidden;color:var(--mut);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.tl.disabled{opacity:.55;pointer-events:none}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{border-radius:8px;background:var(--line)}@media (max-width:900px){.app{grid-template-columns:minmax(280px,34vw) minmax(0,1fr)}aside{padding:14px}.tabs{margin:-14px -14px 0}.gal{gap:8px}}@media (max-width:760px) and (min-width:641px){.app{grid-template-columns:minmax(260px,42vw) minmax(0,1fr)}main{padding:16px}.preview-tools{top:16px;right:16px}.phone-view .canvas-shell{height:min(70vh,620px);max-width:86%}.preview-tools{gap:6px 8px}.preview-tools .preview-select{gap:4px}.preview-tools .preview-select select{min-width:88px}}@media (max-width:640px){.app{grid-template-columns:1fr;grid-template-rows:56px minmax(300px,56vh) auto 190px;height:auto;min-height:100vh}header{grid-column:1;gap:6px;padding:0 8px}.brand{gap:5px}.brand-names{gap:4px}.brand-names strong,.brand-names span{font-size:13px}.brand-copy{gap:0}.brand-copy>span{font-size:8px}.brand-copy small,.sw{display:none}header .hb{height:32px;padding:0 7px;font-size:10px}.history-button{width:32px;min-width:32px;padding:0;font-size:0}.undo-button:after{content:"↶";font-size:18px}.redo-button:after{content:"↷";font-size:18px}aside{grid-row:3;max-height:52vh;padding:12px}.tabs{top:-12px;margin:-12px -12px 0}.tabs button{font-size:11px}main{grid-row:2;padding:10px}.preview-tools{top:10px;right:10px;gap:6px;align-self:stretch}.preview-tools button{height:28px;padding:0 8px}.preview-tools .preview-select{font-size:10px}.preview-tools .preview-select select{min-width:78px;height:28px;padding:0 5px;font-size:10px}.canvas-shell{max-height:calc(100% - 72px)}.phone-view .canvas-shell{height:min(46vh,460px);max-height:calc(100% - 84px);max-width:92%;padding:5px;border-width:6px}.phone-screen{top:5px;right:5px;bottom:5px;left:5px;border-radius:20px}.device-iphone .phone-screen{top:6px;right:6px;bottom:6px;left:6px;border-radius:30px}.phone-status-bar{top:12px;left:12px;right:12px}.phone-navigation{bottom:7px}.phone-home-indicator{bottom:8px}footer{grid-row:4;padding:10px}footer .row{flex-wrap:wrap}.autosave-status{display:none}.gal{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:360px){.phone-status-bar{top:10px;left:8px;right:8px;height:14px;font-size:8px}.phone-status-icons{gap:2px}.phone-cellular{width:9px;height:9px}.phone-wifi,.phone-battery-percent{display:none}.phone-battery{width:10px;height:7px}.device-iphone .phone-notch{width:28px;height:12px}.device-android .phone-notch{width:11px;height:11px}.phone-navigation{width:calc(100% - 22px);height:28px}.phone-navigation svg{width:23px;height:23px}}@media (max-width:640px){html,body,#root{width:100%;height:100%;min-height:0;overflow:hidden}.app{width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden;padding-bottom:env(safe-area-inset-bottom);grid-template-columns:minmax(0,1fr);grid-template-rows:52px minmax(190px,38dvh) minmax(0,1fr) auto}header{grid-column:1;min-width:0;gap:5px;padding:0 8px}.brand{min-width:0;gap:4px}.brand-names{gap:3px}.brand-names strong,.brand-names span{font-size:12px}.brand-copy,.sw{display:none}.sp{min-width:0}header .theme-toggle{width:32px;min-width:32px;height:32px}header .hb{height:32px;padding:0 7px;font-size:10px;white-space:nowrap}.history-button{display:grid;width:32px;min-width:32px;height:32px;overflow:hidden;padding:0;font-size:0;place-items:center}.undo-button:after{content:"↶";font-size:18px}.redo-button:after{content:"↷";font-size:18px}aside{grid-row:3;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;padding:8px 12px 12px}.tabs{top:-8px;margin:-8px -12px 0;padding:6px 5px 0}.tabs button{min-width:0;height:40px;padding:0 2px;font-size:clamp(10px,3vw,12px)}.export-stopped-alert{top:38px;margin:8px 0;padding:9px}.export-stopped-alert span{font-size:12px}aside input:not([type=checkbox]):not([type=range]):not([type=color]),aside select,aside textarea{min-width:0;min-height:40px;font-size:16px}aside button:not(.chip):not(.tabs button){min-height:40px;height:auto;padding-top:8px;padding-bottom:8px}.chips{gap:6px}.chip{min-height:36px;height:auto;padding:6px 10px}main{grid-row:2;min-height:0;overflow:hidden;padding:6px}.preview-tools{top:6px;right:6px;left:6px;display:flex;align-self:stretch;justify-content:center;gap:4px;max-width:none}.preview-tools button{width:auto;height:30px;padding:0 7px;font-size:10px}.preview-tools label{font-size:10px}.preview-tools .preview-select{gap:3px;font-size:10px}.preview-tools .preview-select select{min-width:68px;height:30px;padding:0 4px;font-size:10px}.canvas-shell{width:100%;height:100%;max-width:100%;max-height:100%}.canvas-shell>canvas{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.phone-view .canvas-shell{width:auto;height:min(100%,36dvh);max-width:78vw;max-height:calc(100% - 48px);padding:4px;border-width:5px}.phone-screen{top:4px;right:4px;bottom:4px;left:4px;border-radius:18px}.device-iphone .canvas-shell{border-width:6px;border-radius:32px}.device-iphone .phone-screen{top:6px;right:6px;bottom:6px;left:6px;border-radius:26px}.device-android .canvas-shell:before{top:62px;right:-8px}.device-android .canvas-shell:after{top:62px;left:-8px}.phone-status-bar{top:10px;right:10px;left:10px}.phone-navigation{bottom:6px}.phone-home-indicator{bottom:7px}footer{grid-row:4;min-height:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom))}.timeline-controls{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:4px 6px;align-items:center}.timeline-controls button{width:auto;min-width:74px;height:30px;margin:0;padding:0 8px;font-size:11px}.timeline-time{justify-self:end;font-size:10px}.timeline-message{grid-column:1/-1;min-width:0;font-size:10px;line-height:1.3}.timeline-progress{height:18px;margin-top:4px!important}.wave-container{margin-top:4px}.waveform{height:28px}.tl{height:18px;margin-top:4px}.autosave-status{display:none}.gal{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}}@media (max-width:380px){header{gap:3px;padding-inline:5px}header .hb{padding-inline:5px}.history-button{width:28px;min-width:28px}.tabs button{font-size:10px}.timeline-controls button{min-width:68px;padding-inline:6px}}
