:root{--bg:#f9f8fc;--paper:#fff;--ink:#211b32;--muted:#706981;--line:#e9e4f0;--brand:#6542bd;--deep:#50309f;--soft:#eee7ff;--sub:#f4f0fa;--shadow:0 12px 36px #3b235a0c;--r:5px;color-scheme:light}html[data-theme=dark]{--bg:#15131d;--paper:#211e2b;--ink:#f5efff;--muted:#b4aac8;--line:#393248;--brand:#c5adff;--deep:#d5c2ff;--soft:#33264e;--sub:#292337;--shadow:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #aa8aee;outline-offset:3px}button{transition:background .16s,transform .16s,box-shadow .16s}button:active,.btn:active{transform:scale(.98)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--line);background:var(--paper);padding:10px 15px;border-radius:5px;font-weight:650;white-space:nowrap;transition:.16s}.btn:hover{background:var(--sub);box-shadow:0 4px 12px #42316a0c}.primary{background:#6542bd;color:white;border-color:#6542bd}.primary:hover{background:#5231a4}.quiet{background:transparent;border-color:transparent}.ico{width:20px;height:20px;flex:none;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.top{height:68px;position:sticky;top:0;z-index:20;background:var(--paper);border-bottom:1px solid var(--line)}.topin{max-width:1280px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;padding:0 24px;gap:22px}.logo{display:flex;align-items:center;gap:9px;font-size:24px;letter-spacing:-1.5px;font-weight:800;line-height:1}.mark{width:34px;height:34px;border-radius:9px;background:#6542bd;color:white;display:grid;place-items:center}.mark .ico{width:24px;height:24px}.branddot{color:var(--brand)}.topnav{display:flex;align-items:center;gap:4px}.topnav a{padding:10px 15px;color:var(--muted);font-weight:600;border-radius:5px}.topnav a[aria-current=page]{color:var(--brand);background:var(--soft)}.tools{display:flex;gap:6px;align-items:center}.wrap{max-width:1220px;margin:auto;padding:30px 24px 56px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;color:var(--brand);font-weight:750}.hero{position:relative;overflow:hidden;border:1px solid #e5d9fc;border-radius:12px;background:linear-gradient(116deg,#f0eaff 0%,#f8f3ff 58%,#e7dafa 100%);color:#251b3e;min-height:325px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:40px 48px;gap:26px}.hero h1{font-size:clamp(38px,4.7vw,66px);line-height:1.01;letter-spacing:-3px;margin:14px 0 16px;font-weight:740}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#6944b7}.hero p{font-size:16px;color:#625675;max-width:450px;margin:0 0 22px}.heroart{position:relative;min-height:260px;display:flex;align-items:center;justify-content:center}.floating{position:absolute;border:1px solid #ffffffad;box-shadow:0 18px 45px #7053a22a;border-radius:10px;overflow:hidden}.float1{width:205px;height:235px;background:#fff9f6;transform:rotate(-10deg);left:4%;top:8px;color:#77465e;padding:20px;display:flex;flex-direction:column;justify-content:space-between}.float2{width:203px;height:246px;background:#6244a3;color:#fff;right:5%;top:20px;transform:rotate(10deg);display:grid;place-items:center;text-align:center;padding:20px}.float3{width:180px;background:#fff;padding:14px;bottom:5px;left:30%;transform:rotate(-3deg);color:#45345f}.float1 strong,.float2 strong{font:italic 36px/1.05 Georgia,serif}.float1 svg{width:65px;height:65px}.tiny{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700}.heroart .spark{position:absolute;font-size:42px;color:#855bd5;top:-6px;right:4%}.section{margin-top:38px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:15px}.sectionhead h2,.pagehead h1{font-size:clamp(23px,3vw,34px);letter-spacing:-1.2px;line-height:1.12;margin:4px 0}.sectionhead p,.pagehead p{margin:5px 0;color:var(--muted)}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product{background:var(--paper);border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:.2s;display:block}.product:hover{transform:translateY(-3px);border-color:#bda4eb;box-shadow:var(--shadow)}.productart{height:150px;position:relative;overflow:hidden;display:grid;place-items:center}.prodtext{background:#eee7ff;color:#5d379e}.prodimage{background:#fbe9ec;color:#874d63}.prodmotion{background:#e1dcf8;color:#4c377b}.productbody{padding:16px;display:grid;grid-template-columns:1fr auto;gap:4px}.productbody h3{font-size:19px;letter-spacing:-.4px;margin:0}.productbody p{color:var(--muted);font-size:13px;margin:4px 0}.arrow{align-self:center;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:5px;color:var(--brand)}.paperstack{width:73%;height:104px;background:#fff;border-radius:5px;box-shadow:0 8px 25px #422c6c19;padding:12px;transform:rotate(-4deg);display:grid;gap:4px}.paperstack div{border-bottom:1px solid #eee6f4;font-size:14px;color:#5d379e}.minicard{width:125px;height:125px;background:#fff8f1;box-shadow:0 12px 24px #62334820;border:1px solid #c79a90;transform:rotate(-8deg);padding:13px;text-align:center;display:grid;place-items:center;font:italic 26px Georgia,serif}.miniphone{width:100px;height:139px;border:5px solid #30254b;border-radius:13px;background:radial-gradient(circle at 50% 30%,#7c58ba,#2e2149);color:#f6e8ff;box-shadow:0 12px 20px #39235c30;display:grid;place-items:center;text-align:center;font:italic 22px Georgia,serif;transform:rotate(7deg)}.chips{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:3px 1px 5px}.chip{flex:none;min-height:40px;padding:7px 13px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--muted);font-weight:600;white-space:nowrap}.chip.on,.chip[aria-pressed=true]{background:var(--soft);color:var(--brand);border-color:#bba3eb}.occasiongrid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.occasion{padding:16px 8px;display:grid;justify-items:center;gap:9px;background:var(--paper);border:1px solid var(--line);border-radius:5px;font-weight:600;font-size:13px}.occasion:hover{background:var(--soft)}.ocicon{width:39px;height:39px;background:var(--soft);color:var(--brand);border-radius:9px;display:grid;place-items:center;font-size:22px}.occasion:nth-child(2n) .ocicon{background:#fbe6ed;color:#a05170}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.template{background:var(--paper);border:1px solid var(--line);padding:7px;border-radius:7px;text-align:left;display:block;min-width:0}.template:hover{border-color:#b99ee9}.cover{aspect-ratio:4/4.4;border-radius:4px;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;padding:16px}.cover:before{content:'';position:absolute;inset:10px;border:1px solid currentColor;opacity:.25;pointer-events:none}.cover div{position:relative;font:italic clamp(21px,3.2vw,40px)/1.03 Georgia,serif}.cover small{font:700 9px/1.4 system-ui;letter-spacing:2px;display:block;margin-bottom:13px}.template b{display:block;padding:9px 4px 1px;font-size:13px}.template span{font-size:11px;color:var(--muted);padding:0 4px 6px;display:block}.lilac{background:#e9defa;color:#58378f}.blush{background:#f7e2e3;color:#934c60}.night{background:#30224d;color:#f8e0a9}.sage{background:#e4ebd9;color:#435a43}.cream{background:#f7efdc;color:#8e6341}.sky{background:#dcebf7;color:#375d84}.banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:8px}.banner h3{margin:0 0 4px;font-size:21px;letter-spacing:-.5px}.banner p{color:var(--muted);margin:0}.footer{border-top:1px solid var(--line);padding:25px 24px 100px;color:var(--muted);font-size:12px}.footerin{max-width:1220px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.mobilebar{display:none}.pagehead{margin-bottom:22px}.workgrid{display:grid;grid-template-columns: minmax(0,1fr) 300px;gap:18px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:18px;min-width:0}.panel h2,.panel h3{margin:0 0 10px;font-size:17px;letter-spacing:-.3px}.label{font-size:12px;font-weight:700;display:block;margin:14px 0 6px;color:var(--muted)}.field{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:5px;padding:12px;min-height:44px;resize:vertical}.field:focus{border-color:var(--brand)}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.between{justify-content:space-between}.grow{flex:1;min-width:0}.hint{font-size:12px;color:var(--muted)}.feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.result{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:108px;border:1px solid var(--line);background:var(--paper);border-radius:5px;padding:11px;text-align:left;min-width:0;overflow:hidden}.result:hover,.result.selected{border-color:#aa8de5;background:var(--sub)}.result .meta{font:600 10px system-ui;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);display:flex;justify-content:space-between}.result .sample{white-space:pre-wrap;overflow-wrap:anywhere;text-align:center;padding:13px 2px;font-size:18px;line-height:1.3;max-height:135px;overflow:hidden}.result .pick{font-size:11px;color:var(--brand);align-self:end;font-weight:650}.result.special{background:var(--soft)}.side{position:sticky;top:88px}.dock{position:sticky;bottom:10px;margin-top:16px;background:var(--paper);border:1px solid var(--line);box-shadow:0 -5px 28px #34265615;z-index:8;padding:9px;border-radius:7px;display:flex;gap:8px;align-items:center}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal{border:1px solid var(--line);border-radius:10px;padding:0;background:var(--paper);color:var(--ink);width:min(500px,calc(100% - 20px));max-height:85dvh;box-shadow:0 24px 100px #1810264a}.modal::backdrop{background:#18102680;backdrop-filter:blur(3px)}.modalhead{padding:14px 16px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modalbody{padding:16px}.previewtext{white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;max-height:36dvh;min-height:90px;background:var(--sub);padding:15px;border-radius:5px}.modalfoot{padding:12px 16px;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap}.toast{position:fixed;z-index:99;bottom:85px;left:50%;transform:translateX(-50%);background:#241c34;color:#fff;padding:10px 18px;border-radius:5px;box-shadow:var(--shadow);max-width:90%;font-size:13px}.editorgrid{display:grid;grid-template-columns:260px minmax(0,1fr) 260px;gap:12px;align-items:start}.stage{background:var(--sub);border:1px solid var(--line);border-radius:8px;min-height:550px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;gap:12px;overflow:hidden}.canvas-container{box-shadow:0 8px 30px #22193b20;max-width:100%}.canvas-container canvas{touch-action:none}.templategrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.templategrid .cover{padding:8px}.templategrid .cover div{font-size:20px}.editbar{display:flex;gap:6px;flex-wrap:wrap}.editbar .btn{min-width:44px;padding:9px}.colors{display:flex;gap:8px;flex-wrap:wrap}.swatch{width:36px;height:36px;border:1px solid #b7aec5;border-radius:5px}.animgrid{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);gap:20px;align-items:start}.phonearea{background:var(--sub);border:1px solid var(--line);border-radius:8px;padding:22px;display:grid;justify-items:center;gap:12px}.phone{width:min(100%,300px);aspect-ratio:9/16;border:6px solid #262032;border-radius:19px;overflow:hidden;background:#332254;color:#fff;position:relative;box-shadow:0 15px 35px #291c4935}.phone iframe{border:0;width:100%;height:100%;display:block}.empty{color:var(--muted);padding:24px;text-align:center}.step{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:12px;font-weight:650}.step b{color:var(--brand)}.hide{display:none!important}@media(max-width:900px){.topnav{display:none}.editorgrid{grid-template-columns:190px minmax(0,1fr)}.editorgrid>.properties{grid-column:1/-1}.workgrid{grid-template-columns:minmax(0,1fr) 240px}.hero{padding:30px;grid-template-columns:1fr 1fr}.heroart{transform:scale(.9)}.occasiongrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){body{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.top{height:58px}.topin{padding:0 13px;gap:8px}.logo{font-size:23px}.mark{width:31px;height:31px}.tools .btn{min-height:40px;padding:8px}.wrap{padding:17px 12px 24px}.hero{padding:23px 17px 10px;display:block;border-radius:8px;min-height:0}.hero h1{font-size:40px;letter-spacing:-1.9px;max-width:350px;margin:9px 0 12px}.hero p{font-size:14px;line-height:1.5;margin-bottom:14px}.heroart{min-height:170px;height:170px;transform:none;margin-top:9px}.float1{width:125px;height:145px;left:9%;padding:11px;top:11px}.float2{width:130px;height:151px;right:10%;padding:10px;top:8px}.float1 strong,.float2 strong{font-size:25px}.float1 svg{width:40px;height:40px}.float3{width:135px;padding:8px;font-size:12px;bottom:3px;left:30%}.tiny{font-size:8px}.heroart .spark{font-size:29px}.section{margin-top:26px}.sectionhead{margin-bottom:10px;align-items:start}.sectionhead h2{font-size:23px}.sectionhead p{font-size:12px}.grid3{grid-template-columns:1fr;gap:8px}.product{display:grid;grid-template-columns:105px 1fr;border-radius:6px;min-height:105px}.productart{height:105px}.productbody{padding:12px 10px;gap:3px}.productbody h3{font-size:17px}.productbody p{font-size:12px;line-height:1.35}.paperstack{height:69px;width:84%;padding:5px}.paperstack div{font-size:9px}.minicard{width:68px;height:77px;font-size:16px;padding:6px}.miniphone{width:55px;height:83px;font-size:13px;border-width:3px;border-radius:7px}.arrow{width:30px;height:34px}.occasiongrid{gap:6px}.occasion{padding:11px 4px;font-size:11px;gap:6px}.ocicon{width:34px;height:34px;font-size:19px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cover div{font-size:25px}.banner{display:block;padding:16px}.banner .btn{margin-top:12px}.footer{padding:20px 13px 22px}.footerin{display:block}.footerin>*{margin-bottom:8px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--paper);border-top:1px solid var(--line);z-index:15;padding:5px 5px calc(5px + env(safe-area-inset-bottom));justify-content:space-around;gap:3px}.mobilebar a{min-height:49px;flex:1;display:grid;place-items:center;align-content:center;gap:2px;font-size:10px;color:var(--muted);border-radius:5px}.mobilebar a[aria-current=page]{background:var(--soft);color:var(--brand);font-weight:750}.mobilebar .ico{width:21px;height:21px}.pagehead{margin-bottom:14px}.pagehead h1{font-size:30px}.pagehead p{font-size:13px}.workgrid,.animgrid,.editorgrid{grid-template-columns:1fr;gap:10px}.panel{padding:12px}.side{position:static;display:none}.feed{grid-template-columns:1fr;gap:6px}.result{min-height:90px;padding:9px 11px}.result .sample{font-size:17px;padding:9px}.dock{bottom:67px;gap:5px;padding:7px}.dock .btn{font-size:13px;padding:8px 10px}.editorgrid>.properties{grid-column:auto}.editorgrid>.templates{order:2}.editorgrid>.stage{order:0;min-height:0;padding:13px 8px}.editorgrid>.properties{order:1}.templategrid{display:flex;overflow:auto}.templategrid .template{flex:0 0 100px}.templategrid .cover{aspect-ratio:1}.templategrid .cover div{font-size:17px}.phonearea{padding:13px}.animgrid>.phonearea{order:-1}.phone{width:min(100%,230px)}.modal{margin:auto auto 0;border-radius:12px 12px 0 0;max-height:88dvh;width:100%}.modalfoot .btn{flex:1}.editbar .btn{font-size:12px}.step{font-size:11px}.toast{bottom:130px}.hide-mobile{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.workgrid>div,.workgrid>aside,.animgrid>section,.editorgrid>section,.editorgrid>aside{min-width:0}.chips{max-width:100%}.dock .grow{min-width:0}.result[aria-pressed=true]{border-color:#aa8de5;background:var(--sub)}
.mobile-edit-shortcuts{display:none}@media(max-width:640px){.mobile-edit-shortcuts{display:flex}.mobile-edit-shortcuts .btn{font-size:12px;min-height:42px}.heroart{height:145px;min-height:145px}.float1{height:123px;top:5px}.float2{height:129px;top:4px}.float3{bottom:0}.hero h1{font-size:37px}.hero{padding-top:19px}.product{min-height:92px;grid-template-columns:95px 1fr}.productart{height:92px}.productbody{padding:9px 10px}.section{margin-top:23px}}

/* Wider desktop layout and roomier sticky controls. */
:root{--mobile-nav-height:calc(60px + env(safe-area-inset-bottom))}
[hidden]{display:none!important}
@media(min-width:641px){
  .wrap,.topin,.footerin{width:95%;max-width:none;margin-inline:auto;padding-inline:0}
  .footer{padding-inline:0}
  .top{height:80px}
  .side{top:100px}
  .dock{bottom:14px;min-height:76px;padding:12px 16px;gap:10px}
  .dock .btn{min-height:50px;padding-inline:19px}
  .workgrid{grid-template-columns:minmax(0,1fr) clamp(240px,21vw,332px)}
}
@media(min-width:641px) and (max-width:900px){
  .topnav{display:flex}
  .topnav .ico{display:none}
  .topnav a{padding-inline:10px}
  .topin{gap:10px}
}
@media(max-width:640px){
  body{padding-bottom:var(--mobile-nav-height)}
  .topnav{display:none}
  .dock{bottom:calc(var(--mobile-nav-height) + 6px)}
  .text-dock .btn{padding-inline:9px}
  .text-dock .hint{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

.image-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.image-head .btn{flex:none}
.image-wrap .editorgrid{
  grid-template-columns:minmax(190px,.8fr) minmax(0,1.85fr) minmax(250px,1fr);
  grid-template-areas:'templates canvas properties';
  gap:clamp(12px,1.4vw,24px);
}
.image-wrap .stage{
  grid-area:canvas;
  min-height:0;
  padding:clamp(12px,1.5vw,24px);
  justify-content:flex-start;
  background-color:var(--sub);
  background-image:radial-gradient(var(--line) 1px,transparent 1px);
  background-size:16px 16px;
}
.stage-heading{width:100%;display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.carried-style{margin:0;align-self:flex-start;color:var(--brand);overflow-wrap:anywhere}
.image-wrap .templates{grid-area:templates;scroll-margin-top:96px}
.image-wrap .properties{grid-area:properties;scroll-margin-top:96px}
.image-wrap .templategrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.image-wrap .template{width:100%;padding:5px}
.image-wrap .template[aria-pressed=true]{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.image-wrap .template b{padding:7px 4px 4px}
.image-wrap .template .cover{aspect-ratio:4/5}
.image-wrap .template .cover div{font-size:clamp(15px,1.25vw,22px)}
.image-wrap .template .cover small{font-size:7px;letter-spacing:1px;margin-bottom:8px}
.image-wrap .editbar,.image-wrap .mobile-edit-shortcuts{justify-content:center}
.image-wrap .btn:disabled{opacity:.45;cursor:default;box-shadow:none}
.image-wrap .swatch{background:var(--swatch);width:40px;height:40px}
.image-wrap .swatch[aria-pressed=true]{outline:2px solid var(--brand);outline-offset:1px}
.image-dock{justify-content:flex-end}
.image-dock .btn{flex:0 1 205px}
.image-layer-actions{margin-top:8px}
.image-property-row{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px}
.color-field{height:47px;padding:4px}
.image-wrap #size{width:100%;height:36px;accent-color:var(--brand)}
.canva-template{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}
.canva-template h3,.canva-template p{margin:0 0 8px}
.canva-template .btn{width:100%;margin-top:6px}
@media(min-width:901px) and (min-height:740px){
  .image-wrap .stage{position:sticky;top:96px}
}
@media(min-width:641px) and (max-width:900px){
  .image-wrap .editorgrid{grid-template-columns:minmax(0,1fr) minmax(230px,.75fr);grid-template-areas:'canvas properties' 'templates templates'}
  .image-wrap .templategrid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:640px){
  .image-wrap .editorgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:'canvas' 'properties' 'templates'}
  .image-wrap .stage{gap:9px;padding:10px}
  .image-wrap .templates,.image-wrap .properties{scroll-margin-top:72px}
  .image-wrap .templategrid{padding:3px}
  .image-wrap .templategrid .template{flex:0 0 111px}
  .image-wrap .template .cover div{font-size:17px}
  .image-dock .btn{flex:1}
  .image-wrap .mobile-edit-shortcuts .btn{min-height:44px;padding-inline:11px}
  .image-wrap #cardText,.image-wrap select{font-size:16px}
}

.cover-photo .photo-tile{
  width:70%;aspect-ratio:1.8;margin:0 auto 8px;padding:0;background:#dfcff4;
  color:#70509d;border:2px solid #faf2ff;display:grid;place-items:center;font-size:1.2em
}
.image-wrap .stage-photo{padding:6px 10px;min-height:38px;font-size:12px}
.canva-modal .modalbody>p{margin-top:0}
.canva-status:empty{display:none}
@media(max-width:640px){
  .image-dock .btn{flex:auto}
  .image-dock .ico{display:none}
}

.wish-thumb{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:3px}
.wish-filters{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 13px}
.wish-filters button{min-height:36px;border:1px solid var(--line);padding:5px 9px;border-radius:5px;color:var(--muted);background:var(--paper);font-size:12px;font-weight:650}
.wish-filters button[aria-pressed=true]{border-color:var(--brand);background:var(--soft);color:var(--brand)}
.wish-names{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wish-names small{font-weight:400}
.image-wrap .tint-original{min-height:40px;padding:4px 8px;font-size:12px}
.tint-original[aria-pressed=true]{outline:2px solid var(--brand);outline-offset:1px}
.image-wrap .stage{scroll-margin-top:96px}
.image-wrap .stage[aria-busy=true] .canvas-container{opacity:.65}
.text-card-sample{max-height:30vh;object-fit:contain}
@media(max-width:640px){
  .image-wrap .stage{scroll-margin-top:65px}
  .image-wrap .editorgrid{grid-template-areas:'canvas' 'templates' 'properties'}
  .image-wrap .templategrid{scroll-snap-type:x proximity;gap:9px}
  .image-wrap .templategrid .template{flex:0 0 clamp(108px,33vw,154px);scroll-snap-align:start}
  .image-wrap .templategrid .template b{line-height:1.2;text-wrap:balance}
  .wish-filters button{min-height:44px;padding-inline:10px}
}

/* FeelFold — approved lavender envelope identity */
:root{--bg:#faf7fd;--ink:#32223e;--muted:#74617d;--line:#e9dff2;--brand:#7845a7;--deep:#64338d;--soft:#f0e5fa;--sub:#f7f0fc}html[data-theme=dark]{--bg:#18121f;--paper:#241b2d;--ink:#f5eafa;--muted:#c2b1ca;--line:#45344e;--brand:#d3acf1;--deep:#e5c8fa;--soft:#39284c;--sub:#2d2338}.primary{background:#7845a7;border-color:#7845a7;color:#fff}.primary:hover{background:#64338d}.logo{flex:none;gap:6px;letter-spacing:0}.brand-icon{width:44px;height:44px;object-fit:contain;display:block;flex:none}.brand-wordmark{display:block;width:137px;height:47px;background:url('feelfold-wordmark.webp') center/contain no-repeat}html[data-theme=dark] .brand-wordmark{background-image:url('feelfold-wordmark-dark.webp')}.footer .brand-icon{width:34px;height:34px}.footer .brand-wordmark{width:110px;height:37px}.hero{background:linear-gradient(116deg,#eee0fb 0%,#fbf1fa 58%,#e8d9f8 100%);border-color:#e6d6f2}.hero h1 em{color:#7845a7}.topin{gap:16px}@media(max-width:640px){.brand-icon{width:38px;height:38px}.brand-wordmark{width:122px;height:42px}.topin{gap:8px}}@media(max-width:360px){.brand-icon{width:34px;height:34px}.brand-wordmark{width:105px;height:37px}}

/* V4.1: real, readable text instead of an image-only wordmark. */
.logo{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap;max-width:100%}
.brand-wordmark,html[data-theme=dark] .brand-wordmark{display:inline-flex;position:relative;align-items:center;width:auto;height:auto;padding:0 2px 8px 0;background:none!important;color:#572259;font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,3vw,39px);font-weight:700;font-style:italic;letter-spacing:-1.9px;line-height:1.05;white-space:nowrap;flex:none;text-indent:0;visibility:visible;opacity:1}
html[data-theme=dark] .brand-wordmark{color:#f1d9ff}
.brand-flourish{position:absolute;left:10%;bottom:0;width:90%;height:10px;color:#a96bbf;overflow:visible;pointer-events:none}
html[data-theme=dark] .brand-flourish{color:#d5a5f0}
.footer .brand-wordmark{width:auto;height:auto;font-size:28px;letter-spacing:-1.4px}
@media(max-width:640px){.brand-wordmark,html[data-theme=dark] .brand-wordmark{font-size:32px;letter-spacing:-1.6px}.logo{gap:5px}.brand-icon{width:40px;height:40px}}
@media(max-width:360px){.brand-wordmark,html[data-theme=dark] .brand-wordmark{font-size:28px;letter-spacing:-1.4px}.brand-icon{width:34px;height:34px}.tools{gap:3px}}

/* V4.2 — exact lettering extracted from approved Option 01 artwork. */
.logo .brand-wordmark,html[data-theme=dark] .logo .brand-wordmark{display:flex;align-items:center;width:166px;height:auto;padding:0;line-height:1;flex:0 0 auto;background:none!important}
.brand-wordmark img{width:100%;height:auto;object-fit:contain;display:block;max-width:100%}
.brand-wordmark .wordmark-dark,html[data-theme=dark] .brand-wordmark .wordmark-light{display:none}
html[data-theme=dark] .brand-wordmark .wordmark-dark{display:block}
.brand-wordmark .wordmark-fallback{display:none}
.brand-wordmark.wordmark-missing img{display:none!important}
.brand-wordmark.wordmark-missing .wordmark-fallback{display:block}
.footer .logo .brand-wordmark{width:128px}
@media(max-width:640px){.logo .brand-wordmark,html[data-theme=dark] .logo .brand-wordmark{width:148px}.footer .logo .brand-wordmark{width:128px}}
@media(max-width:360px){.logo .brand-wordmark,html[data-theme=dark] .logo .brand-wordmark{width:128px}}
