:root{--ink:#1d2147;--muted:#79809f;--line:rgba(255,255,255,.78);--violet:#6957ef;--purple:#9c4ee8;--surface:rgba(255,255,255,.66);--shadow:0 18px 48px rgba(65,61,146,.09);font-family:"Cairo",system-ui,sans-serif;color:var(--ink);background:#f4f3ff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 8% 8%,rgba(158,127,255,.15),transparent 30%),radial-gradient(ellipse at 90% 28%,rgba(124,132,255,.14),transparent 32%),linear-gradient(145deg,#f8f7ff,#efefff 58%,#f8f5ff);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.studio-shell{width:min(1500px,100%);margin:auto;padding:0 clamp(14px,3vw,42px) 26px}.glass-surface{background:rgba(255,255,255,.64);border:1px solid rgba(255,255,255,.88);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.94);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.studio-topbar{height:72px;margin:12px 0 22px;padding:0 18px;border-radius:21px;display:flex;align-items:center;justify-content:space-between;gap:16px}.studio-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:900;letter-spacing:-.6px}.studio-brand>span:last-child>span{color:#7856ed}.studio-brand small{display:block;font-size:8px;line-height:1;letter-spacing:3px;color:#9290b5}.brand-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:white;background:linear-gradient(145deg,#6856f2,#a44be5);box-shadow:0 8px 18px rgba(113,83,233,.25)}.brand-mark .material-icons-round{font-size:22px}.topbar-center{flex:1;display:flex;justify-content:center}.topbar-status{display:flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(109,99,219,.1);border-radius:100px;background:rgba(255,255,255,.44);font-size:10px;font-weight:700;color:#78759f}.topbar-status i,.live-pill i,.preview-footer>span i{width:7px;height:7px;border-radius:50%;background:#20c995;box-shadow:0 0 0 4px rgba(32,201,149,.1)}.topbar-actions{display:flex;align-items:center;gap:12px}.back-community{display:flex;align-items:center;gap:7px;color:#68649b;font-size:11px;font-weight:700;padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.54);border:1px solid rgba(255,255,255,.9)}.back-community .material-icons-round{font-size:18px}.studio-user{width:40px;height:40px;border-radius:50%;border:2px solid rgba(126,100,236,.28);background:linear-gradient(145deg,#262353,#8e55df);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center;overflow:hidden;cursor:pointer}.studio-user img{width:100%;height:100%;object-fit:cover}.studio-hero{position:relative;isolation:isolate;min-height:310px;display:grid;grid-template-columns:1.03fr .97fr;align-items:center;gap:20px;padding:30px clamp(25px,5vw,70px);border-radius:32px;overflow:hidden;color:white;background:linear-gradient(112deg,#18184d 0%,#29216f 50%,#6531bd 100%);box-shadow:0 24px 55px rgba(69,45,160,.19)}.studio-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 8% 5%,rgba(195,84,255,.7),transparent 28%),radial-gradient(circle at 70% 110%,rgba(105,76,255,.55),transparent 40%),linear-gradient(120deg,transparent 55%,rgba(255,255,255,.04));pointer-events:none}.hero-copy{position:relative;z-index:3;max-width:580px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#c8c2ff;font-size:9px;letter-spacing:2.5px;font-weight:800}.eyebrow i{width:7px;height:7px;border-radius:50%;background:#b96bff;box-shadow:0 0 12px #c86eff}.hero-copy h1{font-size:clamp(36px,5vw,62px);line-height:1.18;letter-spacing:-1.8px;margin:15px 0 10px;font-weight:900}.hero-copy h1 em{font-style:normal;color:#c9a5ff}.hero-copy p{max-width:520px;margin:0;color:rgba(241,239,255,.78);font-size:13px;line-height:2}.hero-actions{display:flex;align-items:center;gap:10px;margin-top:22px;flex-wrap:wrap}.primary-button,.secondary-button,.publish-button{min-height:43px;border:0;border-radius:14px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.primary-button:hover,.secondary-button:hover,.publish-button:hover{transform:translateY(-2px);filter:brightness(1.03)}.primary-button{background:linear-gradient(110deg,#7959ff,#b348ea);color:#fff;box-shadow:0 9px 22px rgba(139,74,244,.22)}.secondary-button{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.25);color:#fff}.primary-button .material-icons-round,.secondary-button .material-icons-round,.publish-button .material-icons-round{font-size:18px}.hero-note{display:flex;align-items:center;gap:7px;margin-top:19px;color:rgba(233,230,255,.63);font-size:9px}.hero-note .material-icons-round{font-size:15px;color:#a99aff}.hero-art{position:relative;z-index:1;min-height:270px;display:flex;align-items:center;justify-content:center;perspective:900px}.hero-phone{position:relative;z-index:2;width:145px;height:264px;padding:6px;border-radius:29px;background:linear-gradient(145deg,#d9d7f7,#423d78 50%,#161634);box-shadow:0 19px 38px rgba(0,0,0,.38);transform:rotate(-9deg)}.hero-phone-screen{height:100%;border-radius:24px;overflow:hidden;position:relative;text-align:center;background:linear-gradient(180deg,#32216f,#8447c9 58%,#ff9baf 100%);border:1px solid rgba(255,255,255,.3)}.hero-phone-status{display:flex;justify-content:space-between;padding:11px 12px;color:#fff;font-size:7px}.hero-phone-clock{margin-top:26px;color:#fff;font-size:29px;font-weight:600;line-height:1.1}.hero-phone-date{font-size:7px;color:#f6eaff}.hero-phone-sun{position:absolute;top:86px;left:25px;color:#ffd78b;font-size:27px;text-shadow:0 0 18px #ffc46b}.hero-phone-mountains{position:absolute;left:-15%;right:-15%;bottom:30px;height:105px;background:linear-gradient(150deg,transparent 24%,#49377f 24.5% 38%,transparent 38.5%),linear-gradient(30deg,transparent 26%,#26245d 26.5% 45%,transparent 45.5%),linear-gradient(145deg,transparent 15%,#30245f 15.5% 40%,#171d4f 40.5%);clip-path:polygon(0 65%,23% 25%,42% 56%,63% 0,100% 62%,100% 100%,0 100%)}.hero-phone-dock{position:absolute;bottom:8px;left:13px;right:13px;display:flex;justify-content:space-around}.hero-phone-dock i{width:19px;height:19px;border-radius:6px;background:rgba(255,255,255,.82);color:#694cce;font-style:normal;font-size:11px;display:grid;place-items:center}.floating-glass{position:absolute;z-index:4;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.14);box-shadow:0 12px 28px rgba(10,8,49,.22),inset 0 1px 0 rgba(255,255,255,.32);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}.glass-weather{right:7%;top:25px;width:92px;height:80px;border-radius:19px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(8deg)}.glass-weather .material-icons-round{color:#ffd77a;font-size:22px}.glass-weather b{font-size:14px}.glass-weather small{font-size:7px;color:#ded9ff}.glass-icons{left:5%;bottom:23px;width:150px;height:63px;border-radius:17px;display:flex;align-items:center;justify-content:space-evenly;transform:rotate(-9deg)}.glass-icons i{width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.83);color:#714ae0;display:grid;place-items:center;font-style:normal;font-size:13px}.hero-orbit{position:absolute;width:245px;height:245px;border-radius:50%;border:1px solid rgba(199,177,255,.25)}.orbit-one{transform:scaleX(1.45) rotate(-23deg)}.orbit-two{transform:scaleX(1.05) rotate(36deg);border-color:rgba(115,145,255,.23)}.hero-spark{position:absolute;color:#e3c1ff;font-size:25px}.spark-a{right:18%;top:10px}.spark-b{left:15%;top:40%}.hero-glow{position:absolute;width:280px;height:280px;right:-110px;bottom:-210px;border-radius:50%;background:rgba(187,86,255,.3);filter:blur(55px);z-index:-1}.tool-section,.editor-section,.gallery-section{margin-top:37px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 4px 16px}.section-kicker{font-size:8px;letter-spacing:2px;font-weight:800;color:#9a91c4}.section-heading h2{margin:3px 0 1px;font-size:22px;font-weight:900;letter-spacing:-.5px;color:#25264f}.section-heading p{margin:0;font-size:10px;color:#898ba9}.heading-mark{font-size:27px;color:#8067ef}.tool-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.tool-card{position:relative;min-height:145px;padding:16px 12px 13px;text-align:center;border:1px solid rgba(255,255,255,.92);border-radius:22px;background:rgba(255,255,255,.58);box-shadow:0 10px 28px rgba(62,58,143,.055),inset 0 1px 0 #fff;backdrop-filter:blur(18px);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.tool-card:hover,.tool-card.is-active{transform:translateY(-3px);border-color:rgba(129,99,244,.38);box-shadow:0 14px 34px rgba(87,69,178,.12)}.tool-card.is-active{background:linear-gradient(150deg,rgba(255,255,255,.84),rgba(240,235,255,.82))}.tool-icon{width:53px;height:53px;border-radius:17px;margin:0 auto 9px;display:grid;place-items:center;color:#fff;box-shadow:0 9px 18px rgba(99,73,214,.16)}.tool-icon .material-icons-round{font-size:27px}.icon-wallpaper{background:linear-gradient(145deg,#a954ed,#6b5ef4)}.icon-theme{background:linear-gradient(145deg,#6f64f7,#c451e8)}.icon-icons{background:linear-gradient(145deg,#aa56ee,#5867ef)}.icon-widget{background:linear-gradient(145deg,#5d7af5,#a64de0)}.icon-lock{background:linear-gradient(145deg,#8f53e9,#5f54d9)}.tool-card b,.tool-card small{display:block}.tool-card b{font-size:12px;font-weight:800;color:#30315b}.tool-card small{font-size:9px;margin-top:3px;color:#878aa8}.tool-arrow{position:absolute;top:13px;left:13px;font-size:15px;color:#a7a1c7;opacity:0;transition:opacity .18s}.tool-card.is-active .tool-arrow{opacity:1}.editor-heading{margin-bottom:17px}.live-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:rgba(255,255,255,.65);border:1px solid rgba(255,255,255,.95);border-radius:100px;color:#78769f;font-size:9px;font-weight:700}.editor-layout{display:grid;grid-template-columns:minmax(270px,.83fr) minmax(330px,1.17fr);gap:16px;align-items:stretch}.control-panel,.preview-panel{border-radius:25px;padding:20px;min-width:0}.panel-title{display:flex;align-items:center;gap:11px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid rgba(123,119,179,.11)}.panel-title>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;color:#725ce9;background:rgba(129,103,238,.1);font-size:21px}.panel-title b,.panel-title small{display:block}.panel-title b{font-size:13px}.panel-title small{font-size:9px;color:#8d8aaa;margin-top:2px}.field-label{display:block;margin:14px 0 7px;color:#55577f;font-size:10px;font-weight:800}.field-label span{font-weight:500;color:#a09db7}.studio-input{width:100%;height:42px;padding:0 12px;border-radius:12px;border:1px solid rgba(124,119,181,.16);outline:none;background:rgba(255,255,255,.58);color:#2b2d55;font-size:11px}.studio-input:focus{border-color:rgba(117,91,235,.55);box-shadow:0 0 0 3px rgba(117,91,235,.09)}.studio-input::placeholder{color:#aaa7be}.palette-row{display:flex;align-items:center;gap:10px;padding:4px 2px}.palette-swatch{width:31px;height:31px;padding:3px;border-radius:50%;border:1px solid rgba(55,55,99,.12);background:transparent;cursor:pointer}.palette-swatch i{display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch)}.palette-swatch.selected{outline:2px solid #8570ed;outline-offset:3px}.palette-swatch[data-palette=violet]{--swatch:linear-gradient(135deg,#24165d,#8844d9,#f180b2)}.palette-swatch[data-palette=ocean]{--swatch:linear-gradient(135deg,#06374d,#147db0,#83e4ee)}.palette-swatch[data-palette=sunset]{--swatch:linear-gradient(135deg,#5c245f,#d85a83,#ffbd75)}.palette-swatch[data-palette=forest]{--swatch:linear-gradient(135deg,#092f37,#258b78,#b1e69b)}.palette-swatch[data-palette=mono]{--swatch:linear-gradient(135deg,#1e2440,#7883a7,#e1e4f4)}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.preset-button{padding:5px;border:1px solid transparent;border-radius:11px;background:rgba(255,255,255,.36);cursor:pointer}.preset-button.selected{border-color:#8771ed;background:rgba(255,255,255,.82)}.preset-thumb{display:block;height:40px;border-radius:8px;background:linear-gradient(145deg,#171044,#7651cb,#e87ab5)}.preset-mountain{background:linear-gradient(160deg,#25205d,#de83bb 52%,#252a65 53%,#0b1434)}.preset-waves{background:repeating-linear-gradient(165deg,#072d54 0 10px,#2069a3 11px 15px,#68b6ce 16px 19px)}.preset-minimal{background:linear-gradient(145deg,#171b36,#555f95)}.preset-button small{display:block;margin-top:4px;font-size:8px;color:#777895}.range-label{display:flex;justify-content:space-between;margin:16px 0 5px;color:#55577f;font-size:10px;font-weight:800}.range-label output{color:#8870e9}input[type=range]{width:100%;accent-color:#8062ef}.toggle-row{display:flex;align-items:center;justify-content:space-between;margin:15px 0 17px;padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.44);border:1px solid rgba(255,255,255,.9);cursor:pointer}.toggle-row span b,.toggle-row span small{display:block}.toggle-row span b{font-size:10px}.toggle-row span small{margin-top:2px;font-size:8px;color:#9290ad}.toggle-row input{accent-color:#785fe9;width:16px;height:16px}.control-actions{display:grid;gap:8px}.full-button{width:100%;min-height:42px}.control-actions .secondary-button{background:rgba(255,255,255,.6);color:#6f63bd;border:1px solid rgba(122,105,222,.15)}.publish-button{background:linear-gradient(110deg,#25245d,#6653bf);color:white;box-shadow:0 8px 20px rgba(55,48,135,.15)}.privacy-note{display:flex;align-items:flex-start;gap:6px;margin:12px 2px 0;color:#9996b0;font-size:8px;line-height:1.7}.privacy-note .material-icons-round{font-size:13px;color:#8a81c2}.preview-panel{display:flex;flex-direction:column;min-height:590px}.preview-head{display:flex;align-items:center;justify-content:space-between}.preview-head b,.preview-head small{display:block}.preview-head b{font-size:13px}.preview-head small{font-size:9px;color:#9290ad;margin-top:2px}.preview-resolution{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.56);color:#8b88aa;font-size:8px;direction:ltr}.phone-stage{flex:1;display:grid;place-items:center;min-height:460px;padding:18px 0}.phone-frame{position:relative;width:min(100%,278px);aspect-ratio:9/16;padding:8px;border-radius:39px;background:linear-gradient(145deg,#f5f4ff,#79739b 30%,#222144 65%,#c9c4f0);box-shadow:0 24px 45px rgba(42,37,99,.22),inset 0 0 0 1px rgba(255,255,255,.8)}.phone-frame:before{content:"";position:absolute;inset:5px;border-radius:35px;border:1px solid rgba(255,255,255,.52);pointer-events:none;z-index:2}.phone-camera{position:absolute;z-index:3;top:13px;left:50%;transform:translateX(-50%);width:57px;height:15px;border-radius:0 0 11px 11px;background:#15152b}.phone-frame canvas{display:block;width:100%;height:100%;border-radius:31px;object-fit:cover;background:#20194f}.preview-footer{display:flex;align-items:center;justify-content:space-between;padding-top:11px;border-top:1px solid rgba(123,119,179,.12);color:#9693ad;font-size:8px}.preview-footer>span{display:flex;align-items:center;gap:7px}.preview-footer>span i{width:6px;height:6px}.preview-footer button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#8176c2;font-size:9px;font-weight:700;cursor:pointer}.preview-footer button .material-icons-round{font-size:15px}.gallery-section{margin-top:42px}.gallery-link{display:flex;align-items:center;gap:5px;padding:8px 12px;border-radius:11px;background:rgba(255,255,255,.58);color:#7969c4;font-size:9px;font-weight:800}.gallery-link .material-icons-round{font-size:16px}.creation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.creation-card{min-width:0;overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.72);box-shadow:0 9px 25px rgba(68,62,143,.07)}.creation-art{position:relative;aspect-ratio:1.2/1;overflow:hidden;display:grid;place-items:center;background:var(--art-bg,linear-gradient(145deg,#201550,#8d4fd6,#f087ac))}.creation-art:before,.creation-art:after{content:"";position:absolute;width:75%;height:50%;border-radius:50%;border:1px solid rgba(255,255,255,.3);transform:rotate(-22deg)}.creation-art:after{width:50%;height:70%;transform:rotate(30deg)}.creation-art span{position:relative;z-index:1;color:rgba(255,255,255,.94);font-size:32px;text-shadow:0 6px 15px rgba(20,15,57,.22)}.creation-meta{padding:10px 12px}.creation-meta b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.creation-meta small{display:block;margin-top:3px;color:#9290a9;font-size:8px}.gallery-loading{grid-column:1/-1;min-height:140px;border:1px dashed rgba(123,108,209,.25);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8883ad;background:rgba(255,255,255,.3)}.gallery-loading .material-icons-round{font-size:28px;color:#8870e9}.gallery-loading b{font-size:11px}.gallery-loading small{font-size:9px}.studio-footer{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:36px;padding:17px 8px;color:#a09db7;font-size:8px}.studio-footer a{color:#786dc1;font-weight:800}.studio-toast{position:fixed;z-index:100;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;max-width:calc(100vw - 28px);padding:11px 16px;border:1px solid rgba(255,255,255,.85);border-radius:13px;background:rgba(34,32,82,.91);color:white;box-shadow:0 13px 35px rgba(34,31,88,.2);backdrop-filter:blur(15px);font-size:10px;transition:opacity .2s,transform .2s}.studio-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1000px){.studio-hero{min-height:285px;padding-inline:32px}.tool-grid{gap:8px}.tool-card{min-height:135px;padding-inline:7px}.editor-layout{grid-template-columns:minmax(245px,.9fr) minmax(300px,1.1fr)}.creation-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.studio-shell{padding:0 12px 20px}.studio-topbar{height:61px;margin:8px 0 13px;padding:0 11px;border-radius:16px}.studio-brand{font-size:14px;gap:7px}.brand-mark{width:34px;height:34px;border-radius:11px}.studio-brand small{font-size:6px;letter-spacing:2px}.topbar-center{display:none}.topbar-actions{gap:7px}.back-community{padding:8px 9px;font-size:9px}.back-community .material-icons-round{font-size:15px}.studio-user{width:34px;height:34px}.studio-hero{grid-template-columns:1fr;min-height:0;padding:26px 21px 16px;border-radius:25px;gap:0}.hero-copy h1{font-size:39px;margin:10px 0 8px}.hero-copy p{font-size:11px;line-height:1.9}.hero-actions{margin-top:17px}.primary-button,.secondary-button{min-height:39px;padding-inline:13px;font-size:10px}.hero-note{font-size:8px;margin-top:13px}.hero-art{min-height:205px;margin-top:7px}.hero-phone{width:112px;height:202px;border-radius:23px;padding:5px}.hero-phone-screen{border-radius:19px}.hero-phone-clock{margin-top:18px;font-size:23px}.hero-phone-mountains{height:82px}.glass-weather{right:10%;top:15px;width:76px;height:67px}.glass-icons{left:8%;bottom:16px;width:123px;height:51px}.hero-orbit{width:185px;height:185px}.tool-section,.editor-section,.gallery-section{margin-top:27px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:18px}.section-heading p{font-size:9px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-card{min-height:125px;border-radius:17px;padding:13px 7px 10px}.tool-icon{width:44px;height:44px;border-radius:14px;margin-bottom:7px}.tool-icon .material-icons-round{font-size:23px}.tool-card b{font-size:10px}.tool-card small{font-size:8px}.tool-card:last-child{grid-column:1/-1;min-height:94px;display:grid;grid-template-columns:48px 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:right;padding:10px 16px;column-gap:12px}.tool-card:last-child .tool-icon{grid-row:1/3;margin:0}.tool-card:last-child b,.tool-card:last-child small{align-self:end}.tool-card:last-child small{align-self:start}.tool-card:last-child .tool-arrow{opacity:1;top:50%;transform:translateY(-50%)}.live-pill{font-size:8px;padding:7px 9px}.editor-layout{grid-template-columns:1fr;gap:12px}.control-panel,.preview-panel{border-radius:20px;padding:15px}.preview-panel{grid-row:1;min-height:0}.phone-stage{min-height:0;padding:16px 0}.phone-frame{width:min(64vw,235px);border-radius:32px;padding:7px}.phone-frame:before{border-radius:28px}.phone-frame canvas{border-radius:25px}.phone-camera{top:11px;width:49px;height:12px}.preview-resolution{font-size:7px}.creation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.creation-card{border-radius:14px}.creation-meta{padding:8px}.creation-meta b{font-size:9px}.gallery-link{font-size:8px;padding:7px 9px}.studio-footer{gap:10px;font-size:7px;flex-wrap:wrap}}
@media(max-width:380px){.studio-shell{padding-inline:9px}.studio-hero{padding-inline:16px}.hero-copy h1{font-size:34px}.hero-actions{gap:7px}.hero-actions a{font-size:9px;padding-inline:10px}.tool-grid{gap:7px}.tool-card small{font-size:7px}.topbar-actions{gap:5px}.back-community{font-size:8px;padding-inline:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Private draft shelf */
.draft-section{margin-top:34px}.draft-section.hidden{display:none!important}.draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.draft-card{min-width:0;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.92);border-radius:15px;background:rgba(255,255,255,.62);box-shadow:0 8px 22px rgba(65,60,140,.05);text-align:right;cursor:pointer;transition:transform .18s,border-color .18s}.draft-card:hover{transform:translateY(-2px);border-color:rgba(129,99,244,.35)}.draft-art{width:48px;height:48px;flex:0 0 48px;border-radius:12px;display:grid;place-items:center;background:var(--art-bg);color:#fff}.draft-copy{flex:1;min-width:0}.draft-copy b,.draft-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-copy b{font-size:10px;color:#30315b}.draft-copy small{font-size:8px;color:#9390ae;margin-top:3px}.draft-open{font-size:16px;color:#8874d5}@media(max-width:720px){.draft-grid{grid-template-columns:1fr}.draft-card{padding:8px}.draft-art{width:42px;height:42px;flex-basis:42px}}


/* Studio image picker, expanded palettes and simultaneous publishing */
.palette-row{flex-wrap:wrap;row-gap:13px}
.palette-swatch[data-palette=rose]{--swatch:linear-gradient(135deg,#5f173c,#d94b83,#ffc4bd)}
.palette-swatch[data-palette=amber]{--swatch:linear-gradient(135deg,#4c2808,#c77a1e,#ffe09a)}
.palette-swatch[data-palette=ice]{--swatch:linear-gradient(135deg,#18385e,#70a9d8,#e7f7ff)}
.palette-swatch[data-palette=emerald]{--swatch:linear-gradient(135deg,#073d35,#16a085,#c5f4c7)}
.preset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.preset-geometry{background:linear-gradient(135deg,transparent 43%,rgba(255,255,255,.8) 44% 48%,transparent 49%),linear-gradient(45deg,#1c174f,#8252d9)}
.preset-dots{background-color:#29205c;background-image:radial-gradient(rgba(255,255,255,.85) 1.3px,transparent 1.8px);background-size:12px 12px}
.preset-stripes{background:repeating-linear-gradient(135deg,#28205d 0 8px,#8363e5 8px 12px,#d3b8ff 12px 14px)}
.custom-image-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:2px 0 14px}
.custom-image-button{min-width:0;display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid rgba(119,105,222,.16);border-radius:14px;background:rgba(255,255,255,.58);color:#514b8e;text-align:right;cursor:pointer;transition:.18s ease}
.custom-image-button:hover{border-color:rgba(112,83,228,.4);background:rgba(255,255,255,.86);transform:translateY(-1px)}
.custom-image-button>.material-icons-round:first-child{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#7359ef,#b05be4);color:#fff;font-size:19px;flex:0 0 35px}
.custom-image-button b,.custom-image-button small{display:block}.custom-image-button b{font-size:10px}.custom-image-button small{font-size:8px;color:#9692b3;margin-top:2px}.custom-image-button .image-pick-arrow{margin-inline-start:auto;font-size:16px;color:#9b91ca}
.remove-background-button{display:flex;align-items:center;gap:4px;padding:0 10px;border:1px solid rgba(226,91,115,.18);border-radius:12px;background:rgba(255,242,245,.8);color:#c45470;font-size:9px;cursor:pointer}
.remove-background-button .material-icons-round{font-size:15px}.image-upload-hint{grid-column:1/-1;color:#9692b3;font-size:8px;padding-inline:4px}
.publish-destinations-backdrop{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:16px;background:rgba(29,24,66,.32);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.publish-destinations-backdrop.is-open{opacity:1;visibility:visible}
.publish-destinations-modal{width:min(590px,100%);max-height:min(90dvh,850px);overflow:auto;padding:clamp(16px,3vw,25px);border-radius:25px;background:rgba(250,249,255,.88);box-shadow:0 30px 90px rgba(34,25,87,.26);transform:translateY(9px) scale(.985);transition:transform .2s ease}
.publish-destinations-backdrop.is-open .publish-destinations-modal{transform:translateY(0) scale(1)}
.publish-modal-header{display:flex;align-items:flex-start;gap:11px;margin-bottom:20px}.publish-modal-mark{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#7058ee,#ad4de5);color:#fff}.publish-modal-header h2{font-size:16px;margin:0 0 4px;font-weight:900}.publish-modal-header p{margin:0;color:#83809f;font-size:10px;line-height:1.8}.publish-modal-header>div:nth-child(2){flex:1}.publish-modal-header>button{width:32px;height:32px;border:0;border-radius:10px;background:rgba(115,101,200,.08);color:#79739e;cursor:pointer}
.publish-caption{width:100%;resize:vertical;min-height:74px;padding:11px 13px;border:1px solid rgba(124,113,190,.17);border-radius:13px;background:rgba(255,255,255,.7);color:#28264b;font-size:11px;outline:none}
.destination-list{display:grid;gap:8px;margin:13px 0}.destination-option{position:relative;display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(124,113,190,.14);border-radius:15px;background:rgba(255,255,255,.52);cursor:pointer;transition:.18s ease}.destination-option:has(input:checked){background:rgba(255,255,255,.9);border-color:rgba(111,85,230,.38);box-shadow:0 5px 16px rgba(91,72,177,.07)}.destination-option input{position:absolute;opacity:0;pointer-events:none}.destination-option>span:nth-of-type(2){min-width:0;flex:1}.destination-option b,.destination-option small{display:block}.destination-option b{font-size:10px}.destination-option small{font-size:8px;color:#8985a5;line-height:1.7;margin-top:2px}.destination-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;flex:0 0 37px}.destination-icon.posts{background:#eff0ff;color:#645ee6}.destination-icon.chat{background:#edf8f7;color:#28a58d}.destination-icon .material-icons-round{font-size:19px}.destination-check{width:18px;height:18px;border:1.5px solid #c8c2df;border-radius:6px;flex:0 0 18px}.destination-option input:checked~.destination-check{border-color:#735be9;background:#735be9;box-shadow:inset 0 0 0 4px #fff}
.forum-destinations{padding:13px;border:1px solid rgba(124,113,190,.14);border-radius:16px;background:rgba(255,255,255,.47)}.forum-destinations-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.forum-destinations-heading b,.forum-destinations-heading small{display:block}.forum-destinations-heading b{font-size:11px}.forum-destinations-heading small{font-size:8px;color:#8b87a7;margin-top:2px}.forum-destinations-heading button{border:0;background:transparent;color:#6b5be0;font-size:9px;font-weight:800;cursor:pointer}.forum-destinations-heading button:disabled{opacity:.35;cursor:not-allowed}.publish-forum-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.publish-forum-choice{min-width:0;display:flex;align-items:center;gap:7px;padding:9px;border:1px solid rgba(122,111,183,.12);border-radius:11px;background:rgba(255,255,255,.58);cursor:pointer}.publish-forum-choice input{accent-color:#7259e9;flex:0 0 auto}.publish-forum-choice span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#4a476d}.forum-choice-empty{grid-column:1/-1;padding:12px;text-align:center;color:#908ba9;font-size:9px;line-height:1.8}.forum-choice-empty a{color:#6b58e2;text-decoration:underline}.publish-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;flex-wrap:wrap}.publish-gallery-note{display:flex;align-items:center;gap:5px;color:#817da0;font-size:8px}.publish-gallery-note .material-icons-round{font-size:15px;color:#8062e9}.publish-modal-footer .primary-button{min-height:40px}.multi-publish-status{margin-top:10px;padding:10px 12px;border-radius:12px;background:rgba(237,248,244,.9);color:#23765b;font-size:9px;line-height:1.8}.multi-publish-status.is-error{background:rgba(255,241,243,.9);color:#af455d}
.creation-art img{width:100%;height:100%;object-fit:cover;display:block}.creation-art{overflow:hidden}
@media(max-width:600px){.publish-destinations-modal{padding:15px;border-radius:20px}.publish-forum-choices{grid-template-columns:1fr}.publish-modal-footer{align-items:stretch}.publish-modal-footer .primary-button{width:100%}.custom-image-tools{grid-template-columns:1fr}.remove-background-button{min-height:34px;justify-content:center}.image-upload-hint{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.publish-destinations-backdrop,.publish-destinations-modal{transition:none}}


/* Live phone preview controls */
.advanced-controls{margin:13px 0 15px;padding:11px 12px;border:1px solid rgba(124,119,181,.15);border-radius:14px;background:rgba(255,255,255,.36)}
.advanced-controls>summary{cursor:pointer;color:#514b8e;font-size:10px;font-weight:900;list-style:none;display:flex;align-items:center;justify-content:space-between}
.advanced-controls>summary::-webkit-details-marker{display:none}
.advanced-controls>summary:after{content:"＋";font-size:15px;color:#8870e9}
.advanced-controls[open]>summary:after{content:"−"}
.advanced-control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 9px;margin-top:8px}
.advanced-control-grid .field-label{margin:8px 0 4px}
.advanced-control-grid .studio-input{margin-top:6px;height:36px;font-size:10px}
.advanced-control-grid input[type=range]{display:block;margin-top:8px}
.advanced-control-grid output{color:#8870e9;font-size:9px}
.compact-toggle{margin:8px 0;padding:8px 9px}
.platform-limit-note{margin:6px 2px 13px;padding:9px 10px;border-radius:11px;background:rgba(238,235,255,.72);color:#77739b;font-size:8px;line-height:1.9}
.screen-mode-switch{display:flex;justify-content:center;gap:6px;margin:13px auto 0;padding:4px;border-radius:13px;width:max-content;max-width:100%;background:rgba(126,111,202,.08)}
.screen-mode-button{border:0;border-radius:9px;padding:8px 13px;background:transparent;color:#79759a;font:700 9px Cairo,sans-serif;cursor:pointer}
.screen-mode-button.is-active{background:#fff;color:#6953d0;box-shadow:0 4px 12px rgba(61,48,137,.1)}
.preview-drag-hint{display:flex;justify-content:center;align-items:center;gap:5px;margin:0 0 10px;color:#8a86a8;font-size:8px;line-height:1.8;text-align:center}
.preview-drag-hint .material-icons-round{font-size:14px;color:#8269e9}
.phone-frame canvas{touch-action:none;cursor:grab}
@media(max-width:720px){.advanced-control-grid{gap:3px 7px}.screen-mode-button{padding:8px 10px;font-size:8px}.preview-drag-hint{font-size:7px}}

.theme-pack-button{border:1px solid rgba(121,98,223,.22)!important;background:linear-gradient(105deg,rgba(255,255,255,.8),rgba(241,235,255,.9))!important;color:#6752bb!important}
.theme-pack-button:disabled{opacity:.65;cursor:wait}

.creation-card{text-decoration:none;color:inherit;display:block;cursor:pointer}
.creation-card .creation-pack-badge{display:inline-flex;width:max-content;max-width:100%;padding:3px 7px;border-radius:7px;background:rgba(112,87,218,.1);color:#7560ce;font-size:8px}
