:root{--ink:#472154;--muted:#766779;--mint:#b9e4d6;--lilac:#e6d8ef;--line:#e2d6e4;--spring:cubic-bezier(.2,.9,.25,1.15)}
body{color:var(--ink);background:radial-gradient(ellipse at 0 30%,#dff3eb88,transparent 45%),radial-gradient(ellipse at 100% 0,#ecdff780,transparent 50%),#fdf9f6}main{max-width:1120px;margin-top:8px}.panel-header{max-width:1160px;padding-top:18px;padding-bottom:10px}.panel-header img{width:190px}.panel-header .back-link{color:var(--muted)}.login-card{background:#fffaf5ee;box-shadow:0 30px 90px #6e486017}.login-card h1{font-size:43px}.login-card .primary{background:var(--ink)}.login-card>p:not(.eyebrow){color:var(--muted)}.studio-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 16px;border-bottom:1px solid #e8dfe8}.view-tabs{display:flex;padding:5px;background:#f2ecf2;border:1px solid #ece2ed;border-radius:40px;gap:4px}.view-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 20px;background:transparent;border:0;border-radius:30px;color:var(--muted);font-size:14px;transition:.3s var(--spring)}.view-tabs button[aria-current=page]{background:#fff;box-shadow:0 3px 14px #76466714;color:var(--ink);font-weight:600}.exit-button,.icon-button{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid var(--line);background:#fff9;border-radius:50%;color:var(--ink);transition:transform .25s var(--spring),background .25s}.exit-button{background:transparent;border-color:transparent}.icon-button:hover,.exit-button:hover{background:white;transform:translateY(-2px)}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle}svg.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{color:var(--ink)}button:disabled{cursor:wait}.studio-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0 8px}.studio-heading h1{font-size:48px;line-height:1.12;margin:6px 0 0;letter-spacing:-.035em}.studio-heading .eyebrow{font-size:12px;color:#8c708c}.stepper{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 20px}.stepper button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:13px;color:#8c7c8e;padding:3px;white-space:nowrap}.stepper button>[data-icon]{border:1px solid #e9deec;width:36px;height:36px;border-radius:50%;background:#f2eaf2;transition:all .4s var(--spring)}.stepper [aria-current=step]{color:var(--ink);font-weight:600}.stepper [aria-current=step]>[data-icon]{color:#1f7c66;background:#caf0e2;border-color:#95d8c1;box-shadow:0 0 0 5px #ddf5eb80;transform:scale(1.08)}.step-line{width:50px;border-top:2px dotted #d8c6dc;margin-top:-20px}.studio-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);gap:34px;align-items:center}.workbench{position:relative;isolation:isolate;height:650px;border:1px solid #e7d4ce;border-radius:150px 150px 38px 38px;background:#f9eee2 url('/assets/studio-room.webp') center/cover;box-shadow:inset 0 0 35px #fff9,0 18px 60px #693d5a12;display:flex;align-items:center;justify-content:center;overflow:hidden}.stage-light{position:absolute;inset:0;background:linear-gradient(150deg,#fffbf622,#fdf0ff22);z-index:-1;pointer-events:none}.idea-deck{position:relative;width:100%;height:82%;perspective:1100px;display:flex;justify-content:center;align-items:center;overflow:visible}.idea-card{position:absolute;display:block;border:3px solid #fff6ef;border-radius:24px;background:#fff7ee;padding:4px;width:53%;max-width:320px;box-shadow:0 16px 24px #59344a35;overflow:hidden;transition:transform .65s var(--spring),filter .5s,opacity .5s,border-color .4s;transform:translateX(calc(var(--position,0)*66%)) scale(.83) rotate(calc(var(--position,0)*7deg));z-index:1;filter:saturate(.8);will-change:transform}.idea-card[data-position="-1"]{--position:-1}.idea-card[data-position="1"]{--position:1}.idea-card[data-position="0"]{--position:0;transform:translateY(-5px) scale(1) rotate(-1deg);z-index:3;border-color:#ace6d4;filter:none;box-shadow:0 22px 35px #563c4e33,0 0 0 3px #ffffffe0}.idea-card:hover{filter:none}.idea-card canvas{width:100%;height:auto;display:block;border-radius:17px}.poster-wrap{position:relative;height:88%;max-width:79%;filter:drop-shadow(0 18px 22px #5f3b4630);transition:transform .5s var(--spring)}.poster-wrap canvas{display:block;height:100%;width:auto;max-width:100%;object-fit:contain;border-radius:18px;border:4px solid #fff7ee;background:#fffaf5}.poster-wrap[data-format=post]{height:auto;width:78%;max-height:85%}.poster-wrap[data-format=post] canvas{width:100%;height:auto}.save-heart{position:absolute;right:12px;top:12px;background:#fffdf5eb;box-shadow:0 4px 12px #4f25551a;z-index:4}.save-heart[aria-pressed=true]{color:#af4880;background:#ffedf6}.save-heart[aria-pressed=true] svg{fill:#e9a5ca}.studio-buddy{position:absolute;bottom:-6px;left:-10px;width:150px;z-index:6;pointer-events:none;transform-origin:center bottom;animation:buddy-breathe 5s ease-in-out infinite}.studio-buddy img{width:100%;height:auto;display:block;filter:drop-shadow(0 7px 8px #49324618)}.studio-buddy>span{position:absolute;left:92%;bottom:28px;width:150px;background:#fff9f1f2;border:1px solid white;box-shadow:0 4px 12px #44204110;border-radius:20px 20px 20px 2px;padding:10px 12px;font-size:13px;line-height:1.3;color:#644867;transition:opacity .3s}.studio-buddy.happy{animation:buddy-joy .8s var(--spring)}.creative-controls{padding:10px 0}.control-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.control-title h2{font-size:31px;letter-spacing:-.035em}.upload-link{display:flex;align-items:center;gap:4px;padding:8px 12px;background:#e7f4ed;border:1px solid #b5d7c7;border-radius:20px;cursor:pointer;white-space:nowrap;color:#386453;font-size:14px;font-weight:600}.upload-link:hover{background:#d7eee2}.photo-picker{display:flex;gap:8px;overflow-x:auto;padding:4px 3px 12px;scrollbar-width:thin;scrollbar-color:#d2bddb transparent}.photo-picker button{flex:0 0 66px;position:relative;padding:3px;height:82px;overflow:hidden;background:white;border:2px solid transparent;border-radius:18px;transition:all .35s var(--spring)}.photo-picker button img{width:100%;height:100%;object-fit:cover;border-radius:12px}.photo-picker button[aria-pressed=true]{border-color:#61bba0;transform:translateY(-2px);box-shadow:0 4px 9px #39896f18}.photo-picker button[aria-pressed=true]:after{content:'✓';position:absolute;right:2px;bottom:2px;border:2px solid white;border-radius:50%;width:22px;height:22px;background:#4baf93;color:white;font-size:13px;line-height:18px}.scene-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:16px 0 24px}.scene-button{position:relative;min-height:91px;border:1px solid #e8dce9;background:#eee6f480;border-radius:22px;font-size:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 4px;transition:all .35s var(--spring)}.scene-button .scene-picture{height:38px;width:62px;object-fit:contain;filter:drop-shadow(0 3px 4px #7151771a);transition:transform .4s var(--spring)}.scene-button svg{width:30px;height:30px;stroke-width:1.3}.scene-button:hover .scene-picture{transform:translateY(-4px) rotate(6deg)}.scene-button[aria-pressed=true]{background:#e1f4ec;border-color:#70c6a9;box-shadow:inset 0 0 0 2px #fff,0 5px 16px #2c997516;transform:translateY(-2px)}.scene-button[data-theme=blush]{background:#f8e9ef}.scene-button[data-theme=lavender]{background:#eee4f8}.scene-button[data-theme=pearl]{background:#f7efe5}.studio-primary,.secondary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;padding:12px 18px;font-size:16px;border-radius:28px;transition:transform .3s var(--spring),box-shadow .3s,background .3s}.studio-primary{background:linear-gradient(130deg,#683878,#452051);border:1px solid #532e64;box-shadow:inset 0 2px 1px #ffffff35,0 5px 13px #58256420;color:white}.studio-primary:hover{background:linear-gradient(130deg,#77438a,#552661);box-shadow:0 8px 20px #58336e2b;transform:translateY(-2px)}.studio-primary:active,.secondary:active{transform:translateY(1px) scale(.97)}.secondary{margin-top:10px;border:1px solid #cdb9d7;color:var(--ink);background:#fff9}.secondary:hover{background:#f3e8f7;transform:translateY(-2px)}.microcopy{font-size:13px;color:var(--muted);line-height:1.5;margin:8px 0;text-align:center}.microcopy:empty{display:none}.text-button{border:0;background:transparent;color:#846b8e;padding:9px 0;font-size:14px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:7px}.text-button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}.refinements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:22px}.refinements button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border:1px solid #e4d5e9;border-radius:20px;background:#f0e9f6;min-height:91px;font-size:14px;padding:10px 5px;transition:all .3s var(--spring)}.refinements button:hover{transform:translateY(-4px);background:#ebe0f3}.refinements svg{width:29px;height:29px;color:#aa70b1}.refinements button[data-refine=tender]{background:#f8e6ef}.refinements button[data-refine=tender] svg{color:#c36f9e}.field-label{margin:14px 0 7px;font-size:14px;color:#77607e}textarea{display:block;resize:vertical;width:100%;font:16px/1.5 Manrope,sans-serif;color:var(--ink);border:1px solid #ddcde4;border-radius:18px;background:#fffefa;padding:12px 15px;min-height:68px}textarea:focus-visible{outline:3px solid #b59dc7;outline-offset:2px}.phrase-actions{display:flex;gap:9px;justify-content:flex-end;margin:8px 0 15px}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--ink);border-color:#ddcce3}.layout-picker{border:0;padding:0;margin:14px 0 18px;display:flex;flex-wrap:wrap;gap:6px}.layout-picker legend{font-size:14px;color:#77607e;margin-bottom:8px}.layout-picker button{flex:1;padding:8px 10px;min-height:41px;border:1px solid #dfd1e7;background:#fff8;border-radius:18px;font-size:14px}.layout-picker [aria-pressed=true]{background:#e8d8f0;border-color:#b498c9;color:#4e2c62}.decoration-label{display:flex;align-items:center;gap:15px;color:#77607e;font-size:13px;font-weight:400;margin:15px 0 22px}.decoration-label span{flex:1}.decoration-label input{width:42%;accent-color:#9b73b1;cursor:pointer}.format-picker{display:flex;background:#f0e9f1;border:1px solid #e4d8e8;border-radius:25px;padding:4px;margin:0 0 20px}.format-picker button{flex:1;min-height:44px;border:0;background:none;border-radius:20px;font-size:15px}.format-picker button[aria-pressed=true]{background:#ddc8ed;box-shadow:0 2px 6px #74488c12}.format-picker span{font-size:12px;display:block;color:#866f8c}#caption{font-size:14px;line-height:1.65}#share-design{margin-top:14px}.download-link{width:100%;margin-top:7px;min-height:44px}.new-design{border:0;border-top:1px solid #e5dbe7;background:transparent;width:100%;margin-top:20px;padding:18px 10px 5px;color:#816b8b;display:flex;justify-content:center;align-items:center;gap:6px;font-size:14px}.studio-status{font-size:14px;margin-top:14px;color:#77617e}.studio-status:empty{display:none}.studio-status[data-error=true]{color:#aa3a53}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,25px);padding:12px 22px;background:#492653f5;color:#fff;border:1px solid #7b5a83;border-radius:24px;box-shadow:0 8px 25px #3821412e;font-size:14px;opacity:0;pointer-events:none;z-index:40;transition:opacity .25s,transform .35s var(--spring);max-width:calc(100% - 36px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.panel-view.enter,.step-content.enter{animation:soft-enter .55s var(--spring)}.workbench.pop .poster-wrap{animation:poster-reveal .6s var(--spring)}.celebration{position:absolute;inset:0;pointer-events:none;z-index:8;overflow:hidden}.celebration i{position:absolute;left:50%;top:46%;width:8px;height:15px;background:var(--piece-color,#d7a4c6);border-radius:3px;animation:confetti 1s ease-out forwards;transform:rotate(var(--rotate));opacity:0}.saved-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:28px}.saved-card{padding:9px;border:1px solid #e3d4e8;border-radius:22px;background:white;box-shadow:0 10px 20px #5922630a}.saved-card .saved-preview{border:0;padding:0;display:block;width:100%;background:transparent;border-radius:15px;overflow:hidden}.saved-preview canvas{display:block;width:100%;height:auto}.saved-caption{font-size:13px;color:var(--muted);margin:8px 3px;line-height:1.4}.saved-actions{display:flex;gap:6px}.saved-actions>button:first-child{flex:1}.saved-actions .icon-button{width:38px;height:38px}.saved-actions .quiet-button{font-size:13px;padding:6px 10px}.empty-state{text-align:center;padding:80px 25px;max-width:440px;margin:auto;color:var(--muted);line-height:1.7}.theme-card{max-width:900px;margin:20px auto 0}.theme-toggle strong,.theme-heading h2{color:var(--ink)}dialog{max-width:460px;width:calc(100% - 30px);max-height:75dvh;overflow:auto;border:1px solid #ddcbe5;border-radius:28px;padding:24px;background:#fffaf6;box-shadow:0 25px 80px #43254c33;color:var(--ink)}dialog::backdrop{background:#37263d66;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.dialog-heading h2{font-size:30px}#history-list button{width:100%;text-align:left;border:0;border-top:1px solid #eee3ef;background:none;padding:15px 2px;font-size:15px;line-height:1.4}#history-list button:hover{color:#aa5c98}body[data-motion=off] *,body[data-motion=off] *:before,body[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.studio-layout[aria-busy=true]{opacity:.65;pointer-events:none}.studio-layout[aria-busy=true]:after{content:'Preparando tu taller…';position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#fff;padding:10px 20px;border-radius:25px;box-shadow:0 3px 15px #643d5020}
@keyframes soft-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes poster-reveal{0%{transform:scale(.95) rotate(-1deg);opacity:.7}100%{transform:none;opacity:1}}@keyframes buddy-breathe{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes buddy-joy{0%,100%{transform:none}35%{transform:translateY(-14px) rotate(-7deg)}70%{transform:translateY(-3px) rotate(5deg)}}@keyframes confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}70%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rotate))}}
@media(min-width:1000px){.studio-heading{padding-top:6px}.studio-heading h1{font-size:52px}.workbench{height:670px}.creative-controls{padding:20px 10px}.studio-buddy{width:160px}.stepper{justify-content:flex-start;margin-left:82px}.step-line{width:75px}}@media(max-width:760px){main{padding:0 16px;margin-top:0}.panel-header{padding:13px 19px 9px}.panel-header img{width:158px}.back-link{font-size:12px!important}.studio-nav{gap:3px;padding:8px 0 12px}.view-tabs{padding:3px;gap:0;flex:1}.view-tabs button{flex:1;min-height:42px;padding:7px 8px;font-size:12px;gap:4px}.view-tabs svg{width:17px;height:17px}.exit-button{width:30px}.studio-heading{margin:19px 0 5px}.studio-heading h1{font-size:36px}.studio-heading .eyebrow{font-size:11px}.studio-heading .icon-button{width:36px;height:36px}.stepper{margin:12px 0 14px;gap:13px}.stepper button{font-size:12px}.stepper button>[data-icon]{width:32px;height:32px}.step-line{width:34px}.studio-layout{grid-template-columns:1fr;gap:18px}.workbench{height:440px;max-width:490px;width:100%;margin:auto;border-radius:110px 110px 30px 30px;background-position:center 65%}.idea-card{width:54%;max-width:220px;border-radius:20px}.idea-deck{height:88%}.studio-buddy{width:112px;left:-4px;bottom:-5px}.studio-buddy>span{font-size:12px;width:127px;bottom:23px;padding:8px 10px}.poster-wrap{height:93%;max-width:85%}.poster-wrap canvas{border-width:3px}.save-heart{width:35px;height:35px;right:8px;top:8px}.creative-controls{max-width:490px;width:100%;margin:auto;padding:0 0 12px}.control-title{margin-bottom:12px}.control-title h2{font-size:28px}.scene-options{grid-template-columns:repeat(6,1fr);gap:6px;margin:12px 0 18px}.scene-button{min-height:73px;border-radius:16px;font-size:11px;padding:7px 2px;gap:4px}.scene-button .scene-picture{width:42px;height:29px}.scene-button svg{width:24px;height:24px}.photo-picker{padding-bottom:6px}.photo-picker button{flex-basis:59px;height:69px}.refinements{margin-bottom:17px}.refinements button{min-height:75px;font-size:13px;gap:6px}.refinements svg{width:25px;height:25px}.layout-picker{margin:12px 0}.decoration-label{margin:15px 0}.saved-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.saved-card{padding:7px;border-radius:18px}.saved-actions .quiet-button{font-size:12px}.saved-actions .icon-button{width:32px;height:32px}.saved-actions svg{width:17px;height:17px}.saved-caption{font-size:12px}.theme-art{height:310px}.theme-card{margin-top:12px}.toast{bottom:16px}.login-card{margin-top:25px}.login-card h1{font-size:39px}footer{padding-top:15px}.studio-layout[data-step="2"] .workbench{height:500px}.studio-layout[data-step="2"] .studio-buddy{width:94px}.studio-layout[data-step="2"] .studio-buddy span{display:none}}
@media(max-width:370px){.view-tabs button{font-size:11px;padding-inline:5px}.view-tabs button svg{display:none}.studio-heading h1{font-size:32px}.workbench{height:395px}.studio-buddy{width:94px}.scene-options{grid-template-columns:repeat(3,1fr)}.scene-button{font-size:13px}.studio-layout[data-step="2"] .workbench{height:455px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.studio-layout{min-width:0}.workbench,.creative-controls,.step-content,.photo-picker{min-width:0}.discovery-actions{margin-top:8px}
@media(max-width:760px){.studio-layout{grid-template-columns:minmax(0,1fr)}.workbench{height:410px}.scene-options{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-button{font-size:14px;min-height:70px;flex-direction:row;gap:6px}.scene-button .scene-picture{width:33px;height:30px}.view-tabs button{font-size:13px;line-height:1.25}.view-tabs button svg{display:none}.discovery-actions{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;gap:9px;padding:12px 14px max(12px,env(safe-area-inset-bottom));background:#fdf8f5eb;backdrop-filter:blur(14px);border-top:1px solid #e6d8e7;box-shadow:0 -7px 20px #66394a08}.discovery-actions .primary,.discovery-actions .secondary{flex:1;margin:0;font-size:14px;min-height:51px;padding:10px 9px;gap:6px}.discovery-actions svg{width:18px;height:18px}#studio-view:has([data-content="0"]:not([hidden])){padding-bottom:75px}.studio-layout[data-step="2"] .workbench{height:480px}.poster-wrap{height:92%;max-width:90%}}
