:root{--bg:#f6f5f8;--panel:#fff;--line:#e2dfe9;--text:#252335;--muted:#706b80;--accent:#7352e8}html{scroll-behavior:smooth;scroll-padding-top:96px}body{font-family:'DM Sans','Noto Sans Devanagari',sans-serif;color:var(--text)}button,input,select,textarea,.button{background:#fff;color:var(--text);border-color:var(--line);border-radius:10px}button:hover,.button:hover{background:#f0ecfc}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8967ef;outline-offset:3px}.primary{background:var(--accent);color:#fff;box-shadow:0 4px 12px #7352e819}.primary:hover{background:#6040d1}.secondary{background:#f5f3fa}header{height:82px;padding:0 4%;background:#ffffffed;border-bottom:1px solid var(--line);backdrop-filter:blur(15px);gap:18px}.brand{gap:10px;letter-spacing:0}.brand .brand-mark{display:grid;place-items:center;background:#7352e8;color:white;border-radius:12px;width:43px;height:43px;font:800 34px 'Manrope';letter-spacing:-4px;margin:0;padding-right:4px}.brand b{font-size:21px;letter-spacing:-.7px}.brand small{font-size:7px;letter-spacing:1.7px;color:#8c859b;margin-top:5px}nav{padding:5px;background:#f5f3f8;border:1px solid #eeebf3;border-radius:12px}nav button{font-size:12px;padding:10px 19px;border-radius:8px}nav button.active{color:#6344cb;background:white;box-shadow:0 2px 5px #30234b10}.header-end{gap:13px}.header-end #saveStatus{display:none}.language-label{margin:0}#language{width:104px;font-size:12px;border:0;background:#f7f6fa;margin:0;padding:10px}.header-end .primary{padding:11px 17px;font-size:12px}main{max-width:1560px;padding:0 4%;margin:auto}.workspace-welcome{display:flex;justify-content:space-between;align-items:center;margin:27px 0 20px;font-size:12px;color:var(--muted)}.workspace-welcome>div{display:flex;align-items:center;gap:8px}.workspace-welcome a{text-decoration:none;color:#685b87}.status-dot{display:inline-block;width:6px;height:6px;background:#4f9579;border-radius:50%;box-shadow:0 0 0 4px #4f957912}.hero{background:#242035;border:1px solid #353045;border-radius:23px;padding:43px 42px;grid-template-columns:1.05fr 1fr;gap:55px;position:relative;overflow:hidden;color:#fff}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#c3b5ee;font-size:9px;letter-spacing:2px;margin:0}.hero h1{font:700 clamp(32px,3.7vw,57px)/1.12 'Manrope','Noto Sans Devanagari',sans-serif;letter-spacing:-2px;margin:19px 0}.hero h1 em{color:#c9f17e}.hero p:not(.eyebrow){font-size:13px;line-height:1.8;color:#c2bdce;max-width:420px}.hero-cta{display:flex;gap:24px;align-items:center;margin-top:25px}.hero-cta .primary{background:#c9f17e;color:#27361a;padding:13px 20px;font-size:12px;font-weight:800;display:flex;gap:22px;text-decoration:none}.hero-cta>a:last-child{color:#e1dbe9;font-size:11px;text-decoration:none}.hero-tags{gap:18px;margin-top:22px}.hero-tags span{border:0;padding:0;font-size:9px;color:#b9b1c9}.hero-visual{position:relative;padding:15px 7px 30px}.hero-label{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.9px;color:#a89bbf;margin:0 8px 13px}.hero-label>span{color:#c9f17e;font-size:20px}.hero-preview{transform:rotate(-3deg);padding:7px;background:#faf9fd;border:0;border-radius:13px;box-shadow:0 22px 45px #07031550}.hero-preview canvas{display:block;aspect-ratio:16/9;background:#342b4b;border-radius:7px}.preview-bar{color:#5f586d;font-size:7px;letter-spacing:1px;display:flex;justify-content:space-between;padding:11px 7px 6px}.preview-bar i{width:5px;height:5px;background:#7352e8;display:inline-block;border-radius:50%;margin-right:5px}.floating-tool{position:absolute;bottom:5px;right:17px;display:flex;align-items:center;gap:12px;padding:12px 17px;background:#fff;border:1px solid #eee;border-radius:12px;color:#6a627b;box-shadow:0 10px 24px #0002;font-size:10px;transform:rotate(3deg)}.floating-tool b{color:#282233;font-size:12px}.tool-icon{font:800 25px Georgia;color:#7352e8;background:#f0eafa;padding:8px 12px;border-radius:8px}.tool-swatches{display:flex;padding-left:8px}.tool-swatches i{height:17px;width:17px;border-radius:50%;background:#d1f38b;border:2px solid white;margin-left:-5px}.tool-swatches i:nth-child(2){background:#9c79ed}.tool-swatches i:nth-child(3){background:#ff9d89}.hero-spark{position:absolute;top:-9px;right:-20px;color:#c9f17e;font-size:49px}.format-section{margin:31px 0 37px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-title h2{font:700 16px 'DM Sans';margin:0}.section-title>span{font-size:11px;color:var(--muted)}.format-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.format-card{display:flex;gap:12px;align-items:center;padding:16px;text-align:left;background:#fff;border-radius:13px}.format-card.active{border-color:#b7a5e9;background:#f4f0ff}.format-card b{display:block;font-size:12px}.format-card small{display:block;color:#8a8497;font-size:9px;margin-top:5px}.format-icon{width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;font-size:20px}.yt{color:#df5668;background:#ffedf0}.ig{color:#ad54c3;background:#f6eaf9}.sh{color:#e67d45;background:#fff0e7}.sq{color:#587cce;background:#edf2ff}.format-arrow{margin-left:auto;color:#aca5b9;font-size:17px}.library-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:10px 0 23px;scroll-margin-top:100px}.eyebrow{color:#8b7aac;font-size:9px;letter-spacing:1.6px}.library-heading h2{font:700 27px 'Manrope','Noto Sans Devanagari',sans-serif;letter-spacing:-.8px;margin:8px 0 0}.library-heading h2 span{color:#948b9f}.library-badge{font-size:10px;background:#eeebf5;color:#73648c;padding:8px 12px;border-radius:30px;white-space:nowrap}.collection-tabs{gap:5px;border-bottom:1px solid var(--line);padding-bottom:0;margin-bottom:0}.collection-tabs button{font-size:11px;border:0;border-radius:0;background:transparent;color:#80768e;font-weight:500;padding:13px 17px;border-bottom:2px solid transparent}.collection-tabs button.active{background:none;color:#6948ce;border-color:#7958de;font-weight:700}.gallery-toolbar{border-top:0;padding:20px 0 7px;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px}.gallery-toolbar input,.gallery-toolbar select{font-size:11px;background:#fff;padding:12px 13px}.gallery-toolbar input{padding-left:17px}#templateCount{font-size:10px}.gallery-meta{margin:3px 0 14px;font-size:10px}.gallery-meta>span{color:#8c859b}#templateGrid{gap:22px 17px;grid-template-columns:repeat(4,minmax(0,1fr))}.template-card{border:1px solid #e5e1ed;box-shadow:0 2px 3px #31263f03;border-radius:12px;transition:transform .18s,box-shadow .18s}.template-card:hover{border-color:#c9b8f2;box-shadow:0 8px 22px #4b327013;transform:translateY(-3px)}.template-cover{background:#e5e1ee}.template-cover canvas{aspect-ratio:var(--preview-ratio,16/9);object-fit:contain}.template-cover .use-overlay{background:#fff;color:#6546c2;box-shadow:0 3px 15px #0002;border-radius:8px;padding:12px}.template-info{padding:14px}.template-info h3{font-size:12px;font-weight:700}.template-info p{font-size:10px;min-height:15px;margin-bottom:11px}.template-bottom{font-size:8px;border-top:1px solid #f0edf5;padding-top:10px}.subscriber{color:#93869e}.template-bottom button{font-size:9px;color:#7755cc;border:0;padding:4px 0}.creator-chips{padding-top:15px}.creator-chips .active{background:#7352e8;border-color:#7352e8;color:#fff}.library-note{max-width:810px;font-size:11px;line-height:1.9;margin:0 auto;text-align:center;color:#908799}#loadMore{background:#fff;font-size:12px;padding:14px;max-width:250px}.how-section{display:grid;grid-template-columns:1fr 2fr;gap:45px;padding:50px 0;margin-top:38px;border-top:1px solid var(--line)}.how-section h2,.help-section h2{font:700 30px/1.3 'Manrope',sans-serif;letter-spacing:-.8px;margin:10px 0 20px}.how-section a{font-size:12px;color:#7352e8}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.steps article>span{display:inline-grid;place-items:center;width:33px;height:33px;background:#ebe4fb;border-radius:10px;color:#7352e8;font-size:11px}.steps h3{font-size:14px;margin:18px 0 10px}.steps p,.help-section p{font-size:12px;line-height:1.9;color:#7e758b}.help-section{display:grid;grid-template-columns:1fr 1.5fr;gap:80px;padding:40px;background:#eeebf3;border-radius:20px}.help-section>div>p:last-child{max-width:300px}.faq details{margin:0;padding:17px 0;border-top:0;border-bottom:1px solid #dcd5e5}.faq summary{margin:0;font-size:13px;font-weight:600}.faq p{margin-bottom:0}footer{padding:38px 0 28px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;font-size:11px;line-height:1.7}footer>div>a{display:block;text-decoration:none;margin:6px 0;color:#84798f}footer>div>b{display:block;color:#494050;margin-bottom:12px}.footer-brand>b{font-size:21px;letter-spacing:-.6px}.footer-brand>b>span{color:#7352e8;margin-left:9px}.footer-brand p{font-size:11px}.footer-note{font-size:10px}.footer-note .status-dot{margin-right:6px}.footer-note p{line-height:1.8;color:#93879d;max-width:180px}.editor-top{padding:24px 0}.editor-top h2{font-size:21px}.editor-layout{grid-template-columns:240px minmax(0,1fr) 270px;gap:16px}.panel{padding:17px;box-shadow:0 2px 8px #33234305;border-radius:13px}.panel-heading{color:#655578;font-size:10px}.panel-heading span{color:#9b8ea6}.layer{background:#f8f6fc;color:#70617f}.layer.selected{background:#eee7ff;border-color:#ba9ee8;color:#5d38b5}.layer>span:first-child{color:#8562d5}label{color:#7a6c86;font-size:11px}.small{font-size:10px;color:#8b7b95}.quick-edit{background:#fff;border-radius:12px;padding:11px;border-color:var(--line)}.background-panel{background:#faf8ff;border-color:#e2d8f3}.artboard{background-color:#ece8f2;background-image:linear-gradient(45deg,#e4dfea 25%,transparent 25%),linear-gradient(-45deg,#e4dfea 25%,transparent 25%);border-color:#ded7e9;padding:25px;min-height:350px}.canvas-hint{font-size:10px}.canvas-tools{padding:3px 3px;font-size:11px}.export-actions .primary{padding:13px 22px}.sample-disclosure{font-size:10px;line-height:1.8}.format-buttons [aria-pressed=true]{background:#ede5ff;border-color:#b99be8;color:#6840bb}#results{background:#f1ebfc;border-color:#dbceee;color:#554468}dialog{background:#fff;color:var(--text);border-color:var(--line)}#toast{background:#30233f;color:#fff;max-width:90vw;line-height:1.5}h1 em{color:#7352e8}.ab-grid canvas{background:#eee9f5}.ab-heading h1{font-size:40px}.editor-mobile-tabs{display:none}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:12px;background:#7352e8;color:#fff}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.doc-main{max-width:920px;padding:45px 24px}.doc-main h1{font-size:39px;line-height:1.2}.doc-main h2{font-size:22px;margin-top:35px}.doc-main p,.doc-main li{font-size:15px;line-height:1.9;color:#655b73}.doc-main a{color:#7352e8}.doc-main table{border-collapse:collapse;width:100%;font-size:13px}.doc-main td,.doc-main th{border:1px solid var(--line);text-align:left;padding:13px}.doc-main .notice{background:#ede7f7;border-radius:12px;padding:20px}.doc-main footer{display:flex;flex-wrap:wrap;gap:20px}
@media(min-width:1600px){#templateGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.hero{gap:30px;padding:35px}.hero h1{font-size:40px}.editor-layout{grid-template-columns:205px minmax(0,1fr) 240px;gap:10px}.format-card{padding:13px;gap:9px}.format-arrow{display:none}.format-card b{font-size:11px}.hero-tags{gap:10px}#templateGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.panel{padding:13px}.brand b{font-size:19px}nav button{padding:9px 13px}}
@media(max-width:850px){header{height:auto;min-height:75px;flex-wrap:wrap;padding:14px 4%;gap:12px}.header-end{margin-left:auto}header nav{order:3;width:100%;justify-content:center}header nav button{flex:1;font-size:12px}.brand b{display:block;font-size:18px}.brand small{font-size:6px}.hero{grid-template-columns:1fr 1fr;gap:22px;padding:28px}.hero h1{font-size:32px!important}.hero p:not(.eyebrow){font-size:12px}.hero-tags{gap:8px}.hero-tags span{font-size:8px}.hero-label{font-size:6px}.hero-spark{right:-10px}.floating-tool{padding:8px;right:0}.hero-cta{gap:15px;flex-wrap:wrap}.hero-cta .primary{padding:12px 14px}.format-grid{grid-template-columns:repeat(2,1fr)}.format-card b{font-size:12px}.library-heading h2{font-size:24px}.gallery-toolbar{grid-template-columns:repeat(3,1fr)}.gallery-toolbar input{grid-column:1/-1}.editor-layout{display:flex;flex-direction:column}.editor-layout>.canvas-area,.editor-layout>.panel{width:100%}.editor-mobile-tabs{display:flex;gap:6px;position:sticky;top:133px;z-index:15;background:#f6f5f8;padding:10px 0}.editor-mobile-tabs button{flex:1;font-size:11px}.editor-mobile-tabs .active{background:#7352e8;color:#fff;border-color:#7352e8}.editor-layout .panel{display:none}.editor-layout[data-mobile-panel="layers"] .layers-panel,.editor-layout[data-mobile-panel="inspector"] .inspector{display:block}.editor-layout[data-mobile-panel="layers"] .canvas-area,.editor-layout[data-mobile-panel="inspector"] .canvas-area{display:none}.editor-layout .panel input,.editor-layout .panel select,.editor-layout .panel textarea{font-size:14px}.editor-top .actions{gap:5px}.editor-top .actions button{font-size:11px}.editor-top{gap:13px}.how-section{grid-template-columns:1fr;gap:20px}.how-section h2 br{display:none}.help-section{gap:30px;padding:25px;grid-template-columns:1fr 1.3fr}footer{grid-template-columns:1.3fr 1fr 1fr}.footer-note{grid-column:1/-1}.footer-note p{max-width:none}.gallery-meta>span{max-width:none}.artboard{min-height:240px}}
@media(max-width:560px){main{padding:0 5%}header{padding:12px 5%}.brand .brand-mark{height:35px;width:35px;font-size:29px;border-radius:9px}.brand{gap:8px}.brand b{font-size:16px}.brand small{font-size:5px;letter-spacing:1.2px}.header-end{gap:7px}#language{width:86px;padding:9px 5px;font-size:11px}.header-end .primary{font-size:10px;padding:10px}.workspace-welcome{font-size:10px;margin:22px 0 17px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:28px 24px;gap:23px;border-radius:18px}.hero h1{font-size:36px!important;letter-spacing:-1.2px}.hero .eyebrow{font-size:7px;letter-spacing:1.4px}.hero p:not(.eyebrow){font-size:12px;max-width:none}.hero-cta{margin-top:20px;gap:22px}.hero-cta .primary{padding:13px 17px;font-size:11px}.hero-tags{gap:12px;margin-top:20px}.hero-visual{padding:0 10px 20px;max-width:400px;width:100%;align-self:center}.hero-label{font-size:7px}.hero-spark{font-size:35px;top:-7px}.hero-preview{transform:rotate(-2deg)}.floating-tool{bottom:0;right:0;font-size:8px}.floating-tool b{font-size:10px}.tool-icon{font-size:20px;padding:4px 10px}.hero-tags span{font-size:8px}.format-section{margin:27px 0}.format-grid{gap:9px}.format-card{padding:12px 10px;gap:9px}.format-icon{width:30px;height:30px;font-size:17px}.format-card b{font-size:10px}.format-card small{font-size:8px}.section-title h2{font-size:14px}.section-title>span{font-size:9px}.library-heading{align-items:start;flex-direction:column;gap:12px;margin-bottom:14px}.library-heading h2{font-size:23px}.library-heading h2 span{display:block}.library-badge{font-size:9px;padding:6px 10px}.collection-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0}.collection-tabs button{font-size:10px;padding:12px 5px;text-align:left}.gallery-toolbar{gap:7px;padding-top:15px}.gallery-toolbar select{padding:10px 6px;font-size:9px}.gallery-toolbar input{font-size:12px;padding:12px}.gallery-meta{font-size:9px}.gallery-meta>span{display:none}#templateGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.template-info{padding:11px}.template-info h3{font-size:11px}.template-info p{font-size:9px;min-height:25px;line-height:1.5}.template-bottom{padding-top:7px;gap:4px}.template-bottom>span{display:none}.template-bottom button{font-size:9px;padding:3px 0}.template-cover .use-overlay{display:none}.steps{grid-template-columns:1fr;gap:22px}.steps article{display:grid;grid-template-columns:35px 1fr;gap:0 15px}.steps h3{margin:5px 0 4px;font-size:14px}.steps p{grid-column:2;margin:0}.how-section{padding:30px 0;margin-top:28px}.how-section h2,.help-section h2{font-size:26px}.help-section{grid-template-columns:1fr;gap:0;padding:24px}.help-section h2 br{display:none}.help-section>div>p:last-child{max-width:none}.faq summary{font-size:12px;line-height:1.7}.help-section p{font-size:11px}footer{grid-template-columns:1fr 1fr;gap:20px;margin-top:30px;padding:28px 0}.footer-brand{grid-column:1/-1}.footer-note{grid-column:1/-1}.editor-mobile-tabs{top:127px}.quick-edit button{flex:1;font-size:11px}.quick-edit .primary{flex-basis:100%}.artboard{padding:12px}.export-actions{justify-content:flex-start}.export-actions button{font-size:11px}#canvas.vertical{height:520px}.doc-main h1{font-size:30px!important}.doc-main{padding:25px 5%}.doc-main p,.doc-main li{font-size:14px}.doc-main table{font-size:11px}.doc-main td,.doc-main th{padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.ab-title{font:700 38px/1.2 'Manrope',sans-serif;letter-spacing:-1.2px;margin:18px 0}.ab-setup{border:1px solid #d8cbed;border-radius:16px;padding:24px;background:#f1ebfb;display:grid;grid-template-columns:1fr auto;gap:15px}.ab-setup h3{margin:10px 0;font-size:18px}.ab-setup p{color:#7b6c8b;font-size:12px;line-height:1.7;margin:8px 0}.ab-setup-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;max-width:310px}.ab-setup-actions select{width:100%}.ab-setup>.small{grid-column:1/-1;font-size:10px;margin:0}.ab-pack-actions{display:flex;align-items:center;gap:12px;margin:20px 0 30px;flex-wrap:wrap}.ab-pack-actions a{font-size:12px}.ab-pack-actions .button{text-decoration:none;padding:12px}#abAutoStatus{font-size:12px;color:#816e94;margin-top:18px}.rights-note{background:#fff6e4;border:1px solid #efdbb3;color:#8a6c36;padding:13px 16px;border-radius:9px;font-size:11px;line-height:1.7}.brand .brand-mark{font-size:26px;letter-spacing:-3px}.brand b{font-size:18px}.brand small{font-size:7px}.footer-brand>b{font-size:18px}html[data-language=hi] h1,html[data-language=hi] h2,html[data-language=hi] .hero h1{line-height:1.45;letter-spacing:0}html[data-language=hi] .hero-tags{line-height:1.8}
.trends-heading{padding:35px 0 15px}.trends-heading h2{font:700 36px 'Manrope',sans-serif;letter-spacing:-1px;margin:15px 0}.trends-heading>p:last-child{color:var(--muted);font-size:13px;line-height:1.8}.trends-controls{display:flex;gap:13px;align-items:end;max-width:750px}.trends-controls label{flex:1;margin:0}.trends-controls button{height:41px}.trend-disclosure{background:#eee8fa;padding:18px 22px;border-radius:12px;font-size:12px;line-height:1.8;color:#746284}.trend-disclosure p{margin:6px 0}.trend-disclosure b{color:#574269}#trendStatus{font-size:12px;color:#7a698b;line-height:1.7;margin:20px 0}#trendGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.trend-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.trend-card a{text-decoration:none}.trend-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block;background:#eae3f3}.trend-card h3{font-size:14px;line-height:1.6;margin:15px 17px 7px}.trend-card p{font-size:11px;margin:7px 17px;color:#8d7c97}.trend-stats{font-size:10px;color:#9c8ba7;margin:10px 17px}.trend-card button{margin:8px 17px 18px;font-size:11px;background:#f3edfd;color:#6f4bae;border:0}
@media(max-width:850px){#trendGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.trends-heading h2{font-size:29px}}
@media(max-width:560px){#trendGrid{grid-template-columns:1fr}.trends-controls{flex-wrap:wrap}.trends-controls label{min-width:40%}.trends-controls button{width:100%}.trends-heading h2{font-size:28px}.trend-disclosure{font-size:11px}}
.mobile-nav{display:none}.install-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 0;padding:13px 17px;background:#ede8f7;border:1px solid #e2d8f1;border-radius:12px}.install-strip b{display:block;font-size:12px;color:#665277}.install-strip span{display:block;font-size:10px;color:#94829f;margin-top:4px}.install-strip button{font-size:11px;background:white;color:#7352e8;border:0}.install-strip{display:none}#installDialog{max-width:440px;padding:27px}#installDialog h2{font-size:24px;margin-top:55px}#installDialog p{font-size:14px;line-height:1.8}.mobile-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:850px){body{padding-bottom:calc(79px + env(safe-area-inset-bottom));-webkit-tap-highlight-color:transparent}header{height:74px;min-height:74px;flex-wrap:nowrap;padding-top:env(safe-area-inset-top);position:sticky;top:0}header nav{display:none}.header-end{gap:8px}.header-end #exportTop{display:none}#language{font-size:13px;min-height:44px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:40;background:#fffffff5;border-top:1px solid #e5deef;box-shadow:0 -5px 25px #39274c08;padding:8px max(10px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(20px);gap:7px}.mobile-nav button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;background:none;border:0;min-height:50px;color:#8e819c;font-size:10px;border-radius:12px}.mobile-nav button.active{color:#7150ce;background:#f0eafb}.mobile-nav button:active{transform:scale(.96)}.editor-mobile-tabs{top:74px;padding:8px 0}.editor-mobile-tabs button{min-height:43px;font-size:11px;border-radius:11px}.editor-top{padding-top:16px}.install-strip{display:flex}.workspace-welcome{margin-top:21px}.hero{border-radius:20px}.gallery-toolbar select,.gallery-toolbar input,.collection-tabs button{min-height:44px}.format-card{min-height:68px}button,.button,summary{touch-action:manipulation}.editor-layout button,.editor-layout .button,.actions button,.actions .button{min-height:44px;font-size:12px}.editor-layout label{font-size:12px}.editor-layout input:not([type=range]):not([type=checkbox]),.editor-layout select,.editor-layout textarea{min-height:44px;font-size:16px!important}.editor-layout input[type=range]{height:30px}.editor-layout input[type=color]{height:44px}.quick-edit{gap:8px;padding:12px}.quick-edit button{padding:11px 14px}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.export-actions #download{grid-column:2;grid-row:1}.export-actions #exportType{width:100%;grid-column:1;grid-row:1;min-height:44px}.export-actions #autoABEditor{grid-column:1/-1}.export-actions #saveA,.export-actions #saveB{min-height:44px}.canvas-tools button{min-height:40px}.artboard{border-radius:15px}.panel{border-radius:16px;padding:20px}.layer{min-height:48px;font-size:12px}.canvas-area{position:relative}#toast{bottom:calc(87px + env(safe-area-inset-bottom));font-size:12px}.keyboard-open .mobile-nav{display:none}.keyboard-open #toast{bottom:15px}.keyboard-open .editor-mobile-tabs{position:static}.gallery-meta{margin-top:9px}.template-bottom button{min-height:35px}.ab-pack-actions button,.ab-pack-actions .button,.ab-setup-actions select,.ab-setup-actions button{min-height:44px}.doc-main footer{margin-bottom:15px}}
@media(max-width:560px){.hero{padding:23px 22px}.hero h1{font-size:33px!important}.hero-visual{padding:0 7px 17px}.hero-copy .eyebrow{font-size:7px}.hero-tags{gap:10px}.hero-tags span{font-size:8px}.hero-cta .primary{min-height:46px;font-size:12px}.hero-cta>a:last-child{font-size:11px}.library-heading h2{font-size:25px}.hero-copy p{line-height:1.75!important}.install-strip{padding:12px}.install-strip b{font-size:11px}.install-strip span{font-size:9px}.install-strip button{min-height:40px;padding:10px;font-size:10px}.gallery-toolbar{grid-template-columns:1fr 1fr}.gallery-toolbar #platform{grid-column:1/-1;font-size:12px}.gallery-toolbar select{font-size:11px;padding:10px}.collection-tabs button{padding:12px 7px}.gallery-meta{font-size:10px}.template-info h3{font-size:12px}.template-info p{font-size:10px}.template-bottom button{font-size:10px}.brand b{font-size:14px}.brand small{font-size:6px}.header-end #language{width:89px}.mobile-nav button{font-size:10px}.editor-top .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.editor-top .actions label{margin:0}.editor-top h2{font-size:21px}.export-actions{margin-top:15px}.canvas-hint{font-size:11px;line-height:1.7}.sample-disclosure{font-size:11px}}
@media(max-width:850px){.ab-setup{grid-template-columns:1fr}.ab-setup-actions{max-width:none}.ab-setup-actions select{width:auto;flex:1}.ab-title{font-size:29px}}
@media(max-width:560px){.header-end #exportTop{display:none}.brand b{font-size:14px}.brand .brand-mark{font-size:23px}.brand small{font-size:6px}.ab-setup{padding:18px}.ab-setup h3{font-size:16px}.ab-setup-actions{flex-direction:column;align-items:stretch}.ab-setup-actions select{width:100%}.ab-pack-actions{gap:10px}.ab-pack-actions>button{width:100%}.ab-title{font-size:27px}.footer-brand>b{font-size:17px}}

@media(max-width:560px){.editor-top{gap:12px;margin-bottom:14px}.editor-top .actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.editor-top .actions button,.editor-top .actions label{font-size:10px;padding:8px 4px;min-height:44px;display:grid;place-items:center;text-align:center}.quick-edit{display:grid;grid-template-columns:1.3fr 1fr 1fr;padding:8px}.quick-edit button{font-size:10px;padding:9px 5px}.quick-edit #replaceMyPhoto{grid-column:auto}.canvas-tools{margin-top:10px}.editor-top h2{margin:5px 0}.editor-top .eyebrow{margin:4px 0}.install-strip[hidden]{display:none}}
/* Mobile readability and light welcome card */
@media(max-width:850px){
.hero{background:linear-gradient(135deg,#fff 0%,#eee7ff 100%);border:1px solid #ded2f4;color:#282038;box-shadow:0 8px 28px #7352e80a;padding:25px 23px;gap:22px}
.hero .eyebrow{color:#65518a;font-weight:700;font-size:10px;letter-spacing:1.2px}
.hero h1{color:#282038;font-weight:800;font-size:34px!important;letter-spacing:-1px;margin:15px 0}
.hero h1 em{color:#7043cf}
.hero p:not(.eyebrow){color:#514860;font-size:14px;font-weight:500;line-height:1.7}
.hero-cta{margin-top:19px;gap:18px}.hero-cta .primary{background:#7043cf;color:#fff;font-size:13px;font-weight:700}.hero-cta>a:last-child{color:#594374;font-size:12px;font-weight:600}
.hero-tags{flex-wrap:wrap;gap:10px;margin-top:18px}.hero-tags span{color:#5e526e;font-size:11px;font-weight:600}
.hero-visual{max-width:380px;width:100%;margin:auto;padding:0 10px 15px;box-sizing:border-box}.hero-label{color:#665478;font-size:9px;font-weight:700}.hero-label>span,.hero-spark{color:#8053d0}.hero-preview{transform:rotate(-2deg);box-shadow:0 12px 24px #65449020}.floating-tool{padding:8px 12px;bottom:0}.floating-tool b{font-size:12px}
.workspace-welcome{font-size:13px;font-weight:600;color:#62586e}.workspace-welcome a{color:#604c7e;font-weight:600}
.format-card b{font-size:14px;font-weight:700}.format-card small{font-size:11px;color:#655b73;font-weight:500}
.section-title h2{font-size:18px;font-weight:700}.section-title>span{font-size:12px;color:#665b74}
.collection-tabs button{font-size:12px;font-weight:600;color:#665875}.collection-tabs button.active{font-weight:800}
.gallery-toolbar input,.gallery-toolbar select{font-size:14px!important;color:#453b52;font-weight:500}.gallery-toolbar input::placeholder{color:#75677e}
#templateCount,.gallery-meta,.gallery-meta>span{font-size:12px;color:#655a73;font-weight:500}
.template-info h3{font-size:14px;font-weight:700;color:#30263c}.template-info p{font-size:12px;color:#675b73}.template-bottom{font-size:11px;color:#6a5c75}.template-bottom button{font-size:12px;font-weight:700}.subscriber{color:#685a75}
.library-note,.canvas-hint,.sample-disclosure{font-size:12px;color:#665970;line-height:1.8}.mobile-nav button{font-size:11px;font-weight:600;color:#6b5b7a}.mobile-nav button.active{font-weight:800;color:#6335bc}
.editor-mobile-tabs button{font-size:12px;font-weight:600}.editor-layout label{font-weight:600;color:#564660}.editor-layout button,.actions button{font-weight:600}
.install-strip b{font-size:12px;color:#524064}.install-strip span{font-size:11px;color:#665373}.install-strip button{font-size:12px;font-weight:700}
.steps p,.help-section p,footer,.footer-brand p{font-size:13px;color:#685c74}.faq summary{font-size:14px}.footer-note{font-size:12px}.footer-note a,footer>div>a{color:#63516f}
}
/* Edge-to-edge mobile workspace with compact, consistent gutters */
@media(max-width:560px){
main{padding-left:12px;padding-right:12px}
header{padding-left:12px;padding-right:12px}
.workspace-welcome{margin:14px 0 12px;font-size:12px}
.install-strip{margin-top:12px;padding:10px}
.hero{padding:20px 16px;gap:16px;border-radius:15px}
.hero h1{margin:12px 0;font-size:32px!important}
.hero-visual{padding:0 3px 12px;max-width:100%}
.hero-cta{gap:14px;margin-top:16px}
.hero-tags{margin-top:14px}
.format-section{margin:22px 0 25px}
.format-grid{gap:8px}.format-card{padding:12px 9px;gap:8px}
.library-heading{margin:10px 0 15px}.gallery-toolbar{padding-top:13px;gap:8px}
#templateGrid{gap:14px 10px}.template-info{padding:12px}
.how-section{padding:28px 0;margin-top:24px;gap:22px}
.help-section{padding:20px 16px;gap:20px;border-radius:15px}
footer{padding:27px 0 20px;gap:20px}
.panel{padding:16px}.trends-heading{padding-top:22px}.trend-disclosure{padding:14px 16px}
}
.new-upload-note{padding:17px 20px;background:#eee8fa;border:1px solid #e1d6f5;border-radius:12px;font-size:14px;line-height:1.8;color:#58436e}.advanced-metrics{margin:30px 0;border:1px solid #e0d9eb;border-radius:14px;background:#fff;padding:18px}.advanced-metrics>summary{font-weight:700;font-size:14px;cursor:pointer;color:#60467a;min-height:32px}.advanced-metrics>p{font-size:13px;line-height:1.8;color:#655774}.advanced-metrics .ab-footer{margin-bottom:0}
@media(max-width:560px){
body{margin:0;overflow-x:hidden}main{width:100%;max-width:none;padding:0;box-sizing:border-box}
#templatesPage>.hero{margin:0;width:100%;box-sizing:border-box;border-radius:0;border-left:0;border-right:0;padding:20px 16px}
#templatesPage>.workspace-welcome,#templatesPage>.install-strip{margin-left:12px;margin-right:12px}
#templatesPage>.format-section,#templatesPage>.library-heading,#templatesPage>.collection-tabs,#templatesPage>.gallery-toolbar,#templatesPage>.gallery-meta,#templatesPage>#templateGrid,#templatesPage>.library-note,#templatesPage>.how-section,#templatesPage>.help-section{margin-left:12px;margin-right:12px}
#editorPage,#abPage,#trendsPage,main>footer{padding-left:12px;padding-right:12px;box-sizing:border-box}
.hero-visual{padding-left:0;padding-right:0}.hero-preview{transform:none}.hero-spark{right:0}
}
.brand .brand-mark{padding:0;letter-spacing:0;background:none;border-radius:0}.brand-logo{display:block;width:43px;height:43px;flex-shrink:0}@media(max-width:560px){.brand-logo{width:36px;height:36px}.brand .brand-mark{width:36px;height:36px}}
.install-strip{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;padding:18px 20px;background:linear-gradient(115deg,#fff,#efe7ff);border:1px solid #ddd0f5;border-radius:16px;box-shadow:0 4px 16px #6946ae08}
.install-logo{width:48px;height:48px}.install-strip .install-copy b{font-size:15px;font-weight:750;color:#332244}.install-strip .install-copy span{font-size:12px;line-height:1.5;color:#665273;margin-top:4px}
.install-strip #installApp{background:#7043cf;color:#fff;border:0;font-size:13px;font-weight:700;padding:13px 20px;min-height:46px;box-shadow:0 4px 12px #7043cf28;border-radius:11px}.install-strip #installApp:hover{background:#5e32b6}.install-strip[hidden]{display:none}
@media(max-width:560px){.install-strip{grid-template-columns:44px 1fr;gap:10px 12px;padding:15px;margin-top:12px}.install-logo{width:44px;height:44px}.install-strip .install-copy b{font-size:15px}.install-strip .install-copy span{font-size:12px}.install-strip #installApp{grid-column:1/-1;width:100%;font-size:14px;min-height:46px;padding:12px}.install-strip .install-copy{min-width:0}}
/* Slim illustrated install promotion: real accessible text and button. */
.install-strip{grid-template-columns:64px 1fr auto;min-height:76px;box-sizing:border-box;gap:12px;padding:10px 16px;background:#f3edfc url('assets/install-banner.webp') left center/auto 100% no-repeat;border-radius:13px;box-shadow:none;overflow:hidden}
.install-art-space{display:block;width:64px;height:48px}.install-strip .install-copy b{font-size:14px;line-height:1.3}.install-strip .install-copy span{font-size:12px;margin-top:3px}.install-strip #installApp{grid-column:auto;width:auto;min-height:42px;padding:10px 17px;font-size:13px;white-space:nowrap;border-radius:10px}
@media(max-width:560px){.install-strip{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:9px 10px;min-height:72px;background-size:auto 100%}.install-art-space{width:48px;height:48px}.install-strip .install-copy b{font-size:13px;line-height:1.3}.install-strip .install-copy span{font-size:11px;line-height:1.4}.install-strip #installApp{grid-column:auto;width:auto;font-size:12px;padding:10px 12px;min-height:42px}.install-strip .install-copy{position:relative}}
.install-strip{background-image:linear-gradient(90deg,transparent 130px,#f3edfc 220px),url("assets/install-banner.webp");background-size:100% 100%,auto 100%;background-repeat:no-repeat}
.search-guide{padding:35px 0;border-top:1px solid var(--line);margin-top:25px}.search-guide h2{font-size:27px;letter-spacing:-.7px}.search-guide>p:not(.eyebrow){max-width:850px;line-height:1.8;font-size:14px;color:#62556e}.search-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.search-guide article{padding:22px;border:1px solid #e3dceb;background:#fff;border-radius:14px}.search-guide h3{font-size:17px;margin-top:0}.search-guide article p{font-size:13px;line-height:1.8;color:#66576e}.search-guide a{font-size:13px;color:#6840bc;font-weight:600}.breadcrumbs{font-size:12px;line-height:1.7;margin:10px 0 22px;color:#6c5e78}.breadcrumbs a{color:#6542b1}.hero h1 em{display:block}@media(max-width:560px){#templatesPage>.search-guide{margin:25px 12px 0;padding:25px 0}.search-guide-grid{grid-template-columns:1fr;gap:12px}.search-guide h2{font-size:24px}.search-guide article{padding:18px}}

/* Improve text contrast identified by the production Lighthouse audit. */
.brand small{color:#655a74}.eyebrow{color:#685481}.library-heading h2 span{color:#706278}.steps article>span{color:#6b48c7}.footer-note p{color:#685c74}

.analytics-consent{position:fixed;left:16px;bottom:16px;z-index:70;max-width:480px;padding:17px;background:#fff;color:#30263c;border:1px solid #d7cee8;border-radius:15px;box-shadow:0 8px 40px #30204c26;font-size:13px}.analytics-consent strong{font-size:15px}.analytics-consent p{line-height:1.6;margin:7px 0 12px;color:#51465f}.consent-actions{display:flex;gap:8px}.consent-actions button{flex:1;min-height:44px;background:#f3eefc;border:1px solid #ac94d3;color:#47345f;font-weight:700}.analytics-settings{font-size:12px;background:transparent;padding:8px;color:#584669;min-height:44px}.analytics-consent[hidden]{display:none}@media(max-width:560px){.analytics-consent{left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom));max-width:none;padding:14px}.analytics-consent p{font-size:12px}.consent-actions button{font-size:12px}}

/* Accessible secondary text on light surfaces, including desktop library/editor. */
.format-card small,.format-arrow,.gallery-meta>span,.subscriber,.library-note,footer>div>a,.panel-heading span,.small,#abAutoStatus,.trend-card p,.trend-stats{color:#65566f}
.collection-tabs button{color:#65566f}.yt{color:#b32940}.ig{color:#853294}.sh{color:#a34316}.sq{color:#3f62ad}
