:root{--ink:#20203b;--paper:#f5f5fa;--violet:#6450dd;--line:#dddded;--muted:#66667e}body{background:var(--paper);color:var(--ink);font-family:"Segoe UI","Microsoft JhengHei",sans-serif}a{color:#5141c0}.nav{background:#f5f5faf2;border-color:var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}.logo{color:var(--ink);font-size:34px}.nav nav{gap:22px}.nav .wordmark{display:none}.language{padding:5px;display:flex;border:1px solid var(--line);border-radius:30px;gap:2px}.language button{font-size:12px;min-height:32px;padding:4px 10px;border:0;border-radius:20px;background:transparent}.language button[aria-pressed=true]{background:var(--ink);color:#fff}button,.button{border-radius:30px;transition:background .2s,transform .2s,box-shadow .2s;border-color:var(--line);color:var(--ink)}button:hover:not(:disabled),.button:hover{transform:translateY(-2px);background:#e8e5f8}.primary{background:var(--ink);color:white;border-color:var(--ink);box-shadow:0 5px 0 #c8c3e7}.primary:hover{background:var(--violet);color:white}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 #c8c3e7}.eyebrow{color:#655b94;font-weight:500;letter-spacing:0;font-size:14px}.intro{min-height:720px;gap:40px;padding:72px 0 92px;grid-template-columns:1.15fr 1fr}.intro h1{font-size:clamp(38px,4.7vw,62px);letter-spacing:-2.5px;line-height:1.2;font-weight:650}.lead{line-height:1.8;color:var(--muted);margin:28px 0}.intro .primary{padding:15px 27px}.hero-copy{animation:arrive .7s ease both}.stage{position:relative;min-height:490px;display:grid;place-items:center;perspective:1000px}.stage-orbit{position:absolute;width:420px;height:420px;border:1px solid #cfcbea;border-radius:50%;transform:rotateX(55deg) rotateZ(-25deg);box-shadow:0 0 0 28px #eeebfa,0 0 0 29px #dcd6f3}.stage-sheet{width:85%;max-width:350px;background:#fff;border:1px solid #c7c4dd;box-shadow:24px 28px 0 #ded9f4;border-radius:12px;overflow:hidden;transform:rotateY(-12deg) rotateZ(7deg);animation:assemble 1.3s cubic-bezier(.2,.7,.2,1) both;transition:transform .7s}.stage:hover .stage-sheet{transform:rotateY(0) rotateZ(0)}.sheet-nav{display:flex;gap:12px;padding:18px;border-bottom:1px solid var(--line);font-size:12px}.sheet-nav span{margin-right:auto}.sheet-nav i{width:20px;height:5px;background:#d4d0e8;margin-top:7px}.sheet-content{padding:26px}.sheet-label{font-size:11px;color:#70678f}.sheet-content strong{display:block;font-size:32px;line-height:1.1;letter-spacing:-1px;margin:12px 0 22px}.sheet-art{height:150px;background:#d9d0f6;display:flex;align-items:center;justify-content:center;gap:12px;overflow:hidden;border-radius:90px 90px 12px 12px}.sheet-art span{font-size:150px;font-weight:800;line-height:1;color:#62549b;transform:rotate(-15deg)}.sheet-art span+span{color:#f6f2ff;transform:rotate(15deg);animation:assemble 1.6s both}.sheet-lines{margin:20px 0 0;display:grid;gap:7px}.sheet-lines i{height:5px;background:#e8e5f1}.sheet-lines i:last-child{width:65%}.sheet-footer{border-top:1px solid var(--line);padding:15px;font-size:11px;display:flex;justify-content:space-between}.stage-note{position:absolute;bottom:10px;left:0;display:flex;align-items:center;gap:10px;border:1px solid #ded9ef;background:white;border-radius:30px;padding:12px 18px;font-size:13px;box-shadow:0 8px 24px #37304912}.status-dot{width:8px;height:8px;border-radius:50%;background:#6553bb;animation:breathe 2s 3}.stage-caption{position:absolute;bottom:-27px;font-size:11px;color:var(--muted)}.process-section{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.4fr;gap:72px;padding:80px 0}.section-heading h2{font-size:36px;letter-spacing:-1px}.process-list article{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:26px 0}.process-list article:first-child{padding-top:0}.process-list p{color:var(--muted);margin:10px 0 0}.step-number{width:35px;flex-shrink:0;color:#8b7bad;font-size:18px}.closing{padding:70px 0}.closing h2{font-size:36px}.account{max-width:900px}.account h1{font-size:44px;letter-spacing:-1.5px}.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0}.projects article{margin:0;border-radius:14px;border-color:var(--line);padding:26px;box-shadow:0 4px 0 #e9e6f4}.projects article h2{font-size:24px}.projects article p{font-size:14px;color:var(--muted)}#brand-form{padding:30px;background:white;border:1px solid var(--line);border-radius:14px}input,textarea,select,.url{border-color:#d9d5e8;border-radius:9px;background:#fff;color:var(--ink)}input:focus,textarea:focus,select:focus{border-color:var(--violet)}#status{background:#ece9f8;border-left:3px solid #8171cb;color:#4c4371;border-radius:0 10px 10px 0}.badge{background:#e9e5f8;color:#514575;border-radius:24px}#brief{border-color:var(--line);border-radius:14px;padding:26px}.bubble{border-color:var(--line);background:#fff;border-radius:14px}.bubble b{color:var(--violet)}.customer{background:#ede9fa}.results>.toolbar{padding:12px 0}.results{align-self:start}.preview{border:1px solid #cbc5dd;border-radius:12px;box-shadow:0 12px 40px #36304410;overflow:hidden}.preview.empty{background:repeating-linear-gradient(0deg,transparent,transparent 31px,#ddd8eb55 32px),repeating-linear-gradient(90deg,#faf9ff,#faf9ff 31px,#ddd8eb55 32px);text-align:center}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);padding:0;margin:26px 0;list-style:none;border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.pipeline li{display:flex;align-items:center;gap:12px;padding:17px;border-right:1px solid var(--line);font-size:13px;color:#77718b}.pipeline li:last-child{border:0}.pipeline span{font-size:11px;border:1px solid #ddd6ef;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.pipeline b{font-weight:500}body[data-stage=brief] [data-step=brief],body[data-stage=build] [data-step=build],body[data-stage=check] [data-step=check],body[data-stage=live] [data-step=live]{background:#e8e2fc;color:#493686}body[data-stage=build] [data-step=build] span,body[data-stage=check] [data-step=check] span{animation:breathe 1.8s infinite;background:#6450dd;color:white}.maker-grid{gap:28px}.muted{color:var(--muted)}footer{border-color:var(--line)}@keyframes arrive{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes assemble{from{opacity:0;translate:0 50px;scale:.9}to{opacity:1;translate:0 0;scale:1}}@keyframes breathe{50%{opacity:.4}}@media(max-width:800px){.nav{padding:12px 16px;gap:10px}.nav nav{gap:12px}.nav nav>a:first-child{display:none}.nav nav>.button{padding:7px 12px;min-height:38px}.language button{padding:4px 7px}.intro{padding:45px 0 55px;min-height:auto;grid-template-columns:1fr;gap:30px}.intro h1{font-size:42px}.stage{min-height:440px;margin:0 18px}.stage-orbit{width:320px;height:320px}.stage-sheet{max-width:300px}.sheet-art{height:120px}.process-section{grid-template-columns:1fr;gap:22px;padding:50px 0}.projects{grid-template-columns:1fr}.pipeline li{flex-direction:column;gap:6px;padding:12px 3px;text-align:center;font-size:11px}.pipeline span{width:24px;height:24px}.account h1{font-size:34px}.account{padding-top:35px}.maker-grid{grid-template-columns:1fr}.logo{font-size:29px}#brand-form,#brief{padding:22px}.nav nav{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.stage{overflow:clip;min-height:540px;padding-bottom:42px}.stage-caption{bottom:0}.stage-note{bottom:30px;left:12px}.intro>*{min-width:0}@media(max-width:800px){.stage{min-height:470px;margin:0;padding:20px 15px 45px}.stage-sheet{width:85%}.stage-note{font-size:12px;padding:9px 13px}.intro h1{overflow-wrap:break-word}.nav nav{gap:8px}}
.language button[aria-pressed=true]:hover{background:var(--ink);color:white}.language button:focus-visible{outline:2px solid var(--violet);outline-offset:2px}
.visual-process{padding:68px 0 74px;border-top:1px solid var(--line)}.visual-process .section-heading{text-align:center;margin-bottom:36px}.visual-process h2{font-size:34px}.illustrated-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.illustrated-step{position:relative;text-align:center}.illustrated-step:not(:last-child)::after{content:'→';position:absolute;right:-28px;top:33%;font-size:26px;color:#ac9dc9}.illustrated-step svg{width:100%;height:auto;overflow:visible}.step-heading{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}.step-heading span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5ddf5;color:#62517f;font-size:12px}.step-heading h3{margin:0;font-size:23px}.illustrated-step p{color:var(--muted);font-size:15px;margin:12px 0 0}.float-tag{animation:tagFloat 4s ease-in-out infinite;transform-origin:160px 110px}.photo-card{animation:photoSlide 5s ease-in-out infinite;transform-origin:center}.reference-card{animation:refSlide 5s ease-in-out infinite;transform-origin:center}.site-assemble{animation:siteBuild 5s ease-in-out infinite}.phone-pop{animation:phoneBuild 5s ease-in-out infinite;transform-origin:240px 185px}.check-pop{animation:checkBuild 5s ease-in-out infinite;transform-origin:263px 53px}.spark{animation:sparkle 4s ease-in-out infinite}.credit-dots{display:flex;gap:12px;margin:24px 0}.credit-dots span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #c8b9e2;border-radius:50%;background:#eae2f8;color:#6a548e;transition:transform .2s}.credit-dots span:hover{transform:translateY(-6px) rotate(-12deg)}@keyframes tagFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(2deg)}}@keyframes photoSlide{0%,100%{transform:translate(-4px,3px) rotate(-3deg)}50%{transform:translate(5px,-3px) rotate(2deg)}}@keyframes refSlide{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes siteBuild{0%,100%{transform:translateY(6px)}25%,85%{transform:translateY(0)}}@keyframes phoneBuild{0%,10%,100%{transform:scale(.92) translateY(5px)}30%,85%{transform:scale(1) translateY(0)}}@keyframes checkBuild{0%,20%,100%{transform:scale(.82);opacity:.45}38%,85%{transform:scale(1);opacity:1}}@keyframes sparkle{0%,100%{opacity:.4}50%{opacity:1}}@media(max-width:800px){.illustrated-steps{grid-template-columns:1fr;gap:45px;max-width:350px;margin:auto}.illustrated-step:not(:last-child)::after{content:'↓';right:calc(50% - 10px);top:auto;bottom:-40px}.visual-process{padding:45px 0}.visual-process h2{font-size:28px}.illustrated-step svg{max-width:290px}.step-heading{margin-top:0}.credit-dots{gap:9px}.credit-dots span{width:33px;height:33px}}@media(prefers-reduced-motion:reduce){.illustrated-step *{animation:none!important}}
.drawn-icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}label .drawn-icon{width:22px;height:22px;vertical-align:middle;margin-right:9px;color:#8c74b7}#brand-form h2{display:flex;gap:12px;align-items:center}.brand-card{position:relative;transition:transform .25s,box-shadow .25s;animation:cardEnter .45s ease both}.brand-card:nth-child(2){animation-delay:.08s}.brand-card:hover{transform:translateY(-5px);box-shadow:0 12px 0 #e7e0f2}.brand-symbol{width:60px;height:64px;background:#e8def9;display:grid;place-items:center;font-size:26px;font-weight:650;border-radius:18px 18px 18px 4px;margin-bottom:22px;color:#6a4f95;transform:rotate(-5deg);transition:transform .3s}.brand-card:nth-child(even) .brand-symbol{background:#dce9f1;color:#4f6a88;transform:rotate(5deg)}.brand-card:hover .brand-symbol{transform:rotate(0) scale(1.08)}.brand-credits{display:flex;gap:7px;margin:20px 0 6px}.brand-credits i{height:9px;flex:1;border-radius:6px;background:#eeeaf2}.brand-credits .available{background:#b5a0d7}.brand-credits .reserved{background:#d3bf89;animation:breathe 1.5s infinite}.brand-ticket{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f0eafa;border:1px dashed #c8b7df;border-radius:12px;min-height:135px;margin:24px 0;transition:background .3s,transform .3s;overflow:hidden}.brand-ticket strong{font-size:24px;max-width:85%;overflow-wrap:anywhere;transition:color .3s}.brand-ticket>span:last-child{font-size:13px;color:#7a658e;overflow-wrap:anywhere;max-width:85%}.ticket-spark{position:absolute;right:20px;top:12px;font-size:32px;color:#c7b3e4;transition:transform .4s}.brand-ticket.has-name .ticket-spark{transform:rotate(90deg);color:#8c69b5}.brand-ticket.ready{background:#e8f1e1;border-color:#a7bd97}.brand-ticket.ready .ticket-spark{color:#71975d;transform:rotate(180deg)}#brand-form.editing,#brief.editing{border-color:#ad90d5;box-shadow:0 0 0 4px #eadff64d}#brand-form,#brief{transition:border-color .2s,box-shadow .2s}.brief-readiness{display:flex;gap:8px;margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid var(--line)}.brief-readiness>span{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:9px;background:#f0edf5;color:#93869f;font-size:12px;transition:background .25s,color .25s,transform .25s}.brief-readiness .drawn-icon{width:18px;height:18px}.brief-readiness .filled{background:#e4eedc;color:#597449;transform:translateY(-2px)}.pipeline li>.drawn-icon{width:30px;height:30px}.pipeline li>span{display:none}.pipeline li{transition:background .5s,color .5s}.pipeline [data-step=check] .drawn-icon path{stroke-dasharray:50;stroke-dashoffset:0}body[data-stage=check] .pipeline [data-step=check] .drawn-icon path{animation:drawCheck 2.5s infinite}body[data-stage=build] .pipeline [data-step=build] .drawn-icon{animation:tinyLift 2s ease-in-out infinite}.pipeline.celebrate [data-step=live] .drawn-icon{animation:successPop .6s ease}.preview.empty{display:flex;flex-direction:column;justify-content:center;gap:8px}.preview.empty strong{font-size:22px;color:#6f598c}.preview.empty p{font-size:14px;text-align:center}.empty-assembly{display:flex;align-items:center;gap:18px;margin-bottom:25px}.empty-assembly .drawn-icon{width:54px;height:54px;padding:10px;box-sizing:content-box;background:#e9e0f4;border-radius:14px;color:#8c71b0;animation:tinyLift 4s ease-in-out infinite}.empty-assembly .drawn-icon:nth-child(2){animation-delay:.4s;background:#ded5ee}.empty-assembly .drawn-icon:nth-child(3){animation-delay:.8s;width:30px;height:30px;background:#e4ecd9;color:#71905d}#login{padding:35px;background:white;border:1px solid var(--line);border-radius:18px;animation:cardEnter .5s ease}#login>.drawn-icon{width:70px;height:70px;color:#9a7cbd;margin-bottom:20px;animation:tinyLift 4s infinite}#login p{max-width:450px}@keyframes cardEnter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes tinyLift{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}@keyframes drawCheck{0%{stroke-dashoffset:50}65%,100%{stroke-dashoffset:0}}@keyframes successPop{0%{transform:scale(.7)}60%{transform:scale(1.3) rotate(12deg)}100%{transform:scale(1)}}@media(max-width:800px){.brief-readiness{gap:5px}.brief-readiness>span{padding:7px;font-size:11px}.pipeline li{gap:9px}.pipeline li>.drawn-icon{width:24px;height:24px}.empty-assembly{gap:10px}.empty-assembly .drawn-icon{width:38px;height:38px}.brand-ticket strong{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Interaction layer: contained motion, stable form controls and visible focus. */
.brand-card{transform-style:preserve-3d}.brand-card.pointer-active{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-4px);background:radial-gradient(circle at var(--light-x,50%) var(--light-y,50%),#f0e9fd 0,white 65%)}.illustrated-step{transition:transform .35s}.illustrated-step.pointer-active{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}.illustrated-step:hover .step-heading span,.illustrated-step:focus-within .step-heading span{background:#8064ae;color:white;transform:rotate(-12deg) scale(1.15)}.step-heading span{transition:transform .25s,background .25s,color .25s}.stage.pointer-active .stage-sheet{transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(0)}.stage-orbit{animation:orbitSway 9s ease-in-out infinite}.stage-note{animation:gentleNote 5s ease-in-out infinite}.pipeline li:hover{background:#efe9f9;color:#68469a}.pipeline li:hover>.drawn-icon{transform:translateY(-3px) rotate(-8deg)}.pipeline .drawn-icon{transition:transform .25s}.nav a:not(.logo){position:relative}.nav a:not(.button):not(.logo)::after{content:'';position:absolute;left:0;right:0;bottom:-5px;height:2px;background:#ac93cc;transform:scaleX(0);transform-origin:left;transition:transform .25s}.nav a:hover::after,.nav a:focus-visible::after{transform:scaleX(1)}button.tap-feedback,a.tap-feedback{animation:tapFeedback .4s ease}input:hover,textarea:hover,select:hover{border-color:#b79dcf}input,textarea,select{transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 4px #e9ddf655}.results .toolbar button[aria-pressed=true]{background:#e4d9f5;border-color:#b9a4d3;color:#594075}.results .toolbar button:hover .drawn-icon{transform:scale(1.1)}body[data-stage=build] .preview.empty .empty-assembly .drawn-icon:nth-child(2){animation:buildBounce 1.8s ease-in-out infinite}body[data-stage=check] .preview.empty .empty-assembly .drawn-icon:last-child{animation:buildBounce 1.8s ease-in-out infinite}.brand-credits .available{transition:transform .2s,background .2s}.brand-card:hover .brand-credits .available{background:#9576bd;transform:scaleY(1.2)}@keyframes orbitSway{0%,100%{transform:rotateX(55deg) rotateZ(-25deg)}50%{transform:rotateX(48deg) rotateZ(-12deg)}}@keyframes gentleNote{0%,100%{translate:0 0}50%{translate:0 -5px}}@keyframes tapFeedback{0%{scale:1}35%{scale:.96}100%{scale:1}}@keyframes buildBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px) rotate(6deg)}}@media(hover:none){.brand-card:hover{transform:none}.illustrated-step:hover{transform:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.brand-card.pointer-active,.illustrated-step.pointer-active{transform:none}}
.delete-brand{margin-left:10px;background:transparent;box-shadow:none;color:#886d85;font-size:13px}.delete-brand:hover{color:#9a324d;background:#fbeaf0!important}#trash-panel{padding:16px 0}#trash-items{padding:12px 0}.trash-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.trash-row span{overflow-wrap:anywhere;min-width:0}.trash-row button{flex-shrink:0}dialog{border:1px solid #d4c6e4;border-radius:20px;padding:30px;max-width:480px;width:calc(100% - 32px);color:var(--ink);background:#faf8ff;box-shadow:0 24px 90px #29203f33}dialog[open]{animation:cardEnter .2s ease}dialog::backdrop{background:#28203966;backdrop-filter:blur(4px)}#delete-confirm{background:#8b405a;color:#fff}#delete-error{color:#9a324d;margin:15px 0 0}#delete-brand{font-weight:650}
.asset-drop{position:relative;min-height:210px;border:2px dashed #bfaad7;border-radius:18px;background:#f4effa;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:20px;text-align:center;transition:background .25s,transform .25s,border-color .25s}.asset-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.asset-drop:focus-within{outline:3px solid #9773c1;outline-offset:3px}.upload-drawing{width:94px;color:#9876bd;transition:transform .3s}.upload-drawing svg{width:100%;display:block}.asset-drop:hover .upload-drawing,.asset-drop.drag-over .upload-drawing{transform:translateY(-8px) rotate(-5deg)}.asset-drop:hover,.asset-drop.drag-over{background:#e9dff6;border-color:#9371b9}.asset-drop.drag-over{transform:scale(1.02)}.asset-drop strong{font-size:16px}.asset-drop>span{font-size:12px;color:#776585}.asset-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.asset-thumb{position:relative;aspect-ratio:1;animation:cardEnter .3s ease}.asset-thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid #d8cce3}.asset-thumb button{position:absolute;right:-5px;top:-5px;width:30px;height:30px;min-height:30px;padding:0;font-size:22px;border-radius:50%;box-shadow:0 3px 8px #34204220}.style-picker{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.style-picker h3{font-size:19px}.style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.style-card{position:relative;min-width:0;background:white;border:2px solid transparent;border-radius:12px;box-shadow:0 0 0 1px #e0d8e9;transition:border-color .25s,transform .25s}.style-card:hover{transform:translateY(-3px)}.style-card.selected{border-color:#8b65b5;box-shadow:0 0 0 3px #e8dbf5}.style-peek{display:block;padding:0;overflow:hidden;width:100%;border:0;border-radius:10px;background:transparent;text-align:left;min-height:0;box-shadow:none;transform:none!important}.style-peek img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;transition:transform .45s}.style-peek>span{display:block;font-size:12px;padding:8px 10px}.style-card:hover img{transform:scale(1.04)}.style-info{display:none;padding:0 10px 10px;animation:cardEnter .2s ease}.style-info p{font-size:12px;line-height:1.6;margin:4px 0 9px}.style-use{font-size:12px;min-height:34px;width:100%;padding:4px 10px}.style-card.expanded .style-info,.style-card:focus-within .style-info{display:block}@media(hover:hover){.style-card:hover .style-info{display:block}}.style-card.selected .style-use{background:#6b4b91;color:white}.style-card.expanded{border-color:#b8a2d1}.style-grid{align-items:start}@media(max-width:600px){.asset-drop{min-height:230px}.asset-thumb button{min-height:36px;width:36px;height:36px}.style-use{min-height:44px}.style-peek>span{font-size:13px}.style-info p{font-size:13px}}@media(prefers-reduced-motion:reduce){.style-card,.style-info,.asset-thumb,.upload-drawing{animation:none!important;transition:none!important}}
.style-grid{max-height:540px;overflow-y:auto;padding:4px 6px 6px 4px;scrollbar-color:#c4aedb #f2edf7;scrollbar-width:thin}.style-grid:focus-within{scroll-behavior:smooth}@media(min-width:1000px){.results{position:sticky;top:108px;max-height:calc(100vh - 124px);overflow:auto;padding:0 4px 12px}}@media(prefers-reduced-motion:reduce){.style-grid:focus-within{scroll-behavior:auto}}
/* Keep style copy inside the image: hover/tap overlay, no layout shift. */
.style-peek{position:relative;aspect-ratio:1.5;border-radius:10px}.style-peek img{height:100%;aspect-ratio:auto}.style-peek>span{position:absolute;left:0;right:0;bottom:0;padding:20px 10px 9px;color:#fff;background:linear-gradient(transparent,#171324bb);font-weight:600;text-shadow:0 1px 3px #0008}.style-info{position:absolute;inset:0;z-index:3;border-radius:10px;padding:12px;display:flex!important;flex-direction:column;justify-content:center;gap:8px;color:white;background:#21182de8;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px);transition:opacity .2s,transform .2s,visibility .2s;animation:none}.style-info p{margin:0;font-size:12px;line-height:1.6;color:#fff}.style-info .style-use{background:#fff;color:#543471;border-color:#fff;min-height:34px}.style-card.expanded .style-info,.style-card:focus-within .style-info{opacity:1;visibility:visible;pointer-events:auto;transform:none}.style-card.selected .style-use{background:#ddcef3;color:#39234f;border-color:#ddcef3}@media(hover:hover){.style-card:hover .style-info{opacity:1;visibility:visible;pointer-events:auto;transform:none}}@media(max-width:600px){.style-info{padding:10px;gap:6px}.style-info p{font-size:12px;line-height:1.4}.style-info .style-use{min-height:36px}}@media(prefers-reduced-motion:reduce){.style-info{transition:none}}

/* Direct style selection and illustrated upload devices. */
.style-card .style-info{pointer-events:none!important;padding:20px 16px!important;justify-content:center!important}
.style-card .style-peek>span:not(.style-check){z-index:2}
.style-card .style-check{position:absolute;inset:10px 10px auto auto!important;width:30px;height:30px;padding:6px!important;border-radius:50%;background:#6450dd!important;color:white;z-index:4;opacity:0;transform:scale(.4) rotate(-25deg);transition:transform .24s cubic-bezier(.2,1.6,.5,1),opacity .2s;display:grid;place-items:center}
.style-check svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.style-card.selected .style-check{opacity:1;transform:scale(1) rotate(0)}
.style-card.selected{outline:2px solid #6450dd;outline-offset:-2px}
.upload-devices{display:flex;gap:18px;color:#7864a0;align-items:center;pointer-events:none}
.upload-devices svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.asset-drop:hover .upload-desktop,.asset-drop.drag-over .upload-desktop{transform:translateY(-3px) rotate(-4deg)}
.asset-drop:hover .upload-phone{transform:translateY(-3px) rotate(5deg)}
.asset-drop:hover .device-arrow{animation:device-upload .9s ease-in-out infinite}
@keyframes device-upload{50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.upload-devices *{animation:none!important;transition:none!important}.style-card .style-check{transition:none!important}}

.device-toggle{display:inline-grid!important;place-items:center;width:46px;height:44px;padding:9px!important;transition:background .2s,transform .2s!important}
.device-toggle svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.device-toggle:hover svg{transform:translateY(-2px)}
.device-toggle[aria-pressed=true]{background:#e9e2ff!important;color:#6450dd!important;box-shadow:inset 0 0 0 1px #bdb0e4}
@media(prefers-reduced-motion:reduce){.device-toggle,.device-toggle svg{transition:none!important;transform:none!important}}

.style-check{pointer-events:none}.style-card .style-info{padding-top:38px!important}.style-card .style-check{box-sizing:border-box}
/* Portal-wide illustrated actions and touch layouts. */
.icon-action{gap:8px!important;align-items:center}.icon-action>.drawn-icon{width:22px;height:22px;flex:none;transition:transform .22s ease}.icon-action:hover>.drawn-icon{transform:rotate(-7deg) translateY(-2px)}.icon-action:active>.drawn-icon{transform:scale(.88)}
.icon-only{width:44px!important;min-width:44px;height:44px;padding:10px!important;display:inline-flex!important;justify-content:center;border-radius:50%}.icon-only .action-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.nav .icon-only:hover{background:#e9e3fa}.nav nav{gap:8px}.nav .language{margin-left:6px}
.brand-card{position:relative}.brand-card .delete-brand{position:absolute;top:18px;right:18px;margin:0!important;background:transparent!important;border-color:transparent!important}.brand-card .delete-brand:hover{background:#f8e5e9!important;color:#ae3651}.brand-card h2{padding-right:30px}.brand-card p{overflow-wrap:anywhere}.brand-credits i{transition:transform .2s}.brand-card:hover .brand-credits i.available{transform:translateY(-3px)}.brand-card .primary{min-height:48px}
#login{text-align:center;padding:32px 24px;border:1px solid #ded8ed;background:white;border-radius:22px;margin:24px 0}#login>.drawn-icon{display:none}.login-visual{display:flex;align-items:center;justify-content:center;gap:18px;margin:8px auto 28px}.login-visual .drawn-icon{width:64px;height:64px;padding:15px;background:#ede7fa;border-radius:18px;animation:login-arrive .55s both}.login-visual .drawn-icon:nth-child(2){animation-delay:.12s;background:#dcd0f5;transform:rotate(6deg)}.login-visual .drawn-icon:nth-child(3){animation-delay:.24s}.login-visual:hover .drawn-icon{animation:login-arrive .55s both}@keyframes login-arrive{from{opacity:0;translate:0 12px;scale:.85}to{opacity:1;translate:0 0;scale:1}}
#trash-panel{padding:12px 0;margin-bottom:20px}#trash-panel>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px}#trash-panel>summary:after,.usage-detail>summary:after{content:'+';margin-left:auto;font-size:24px;transition:transform .2s}#trash-panel[open]>summary:after,.usage-detail[open]>summary:after{transform:rotate(45deg)}
.usage-page{padding-top:48px;padding-bottom:64px}.usage-detail{border-bottom:1px solid #ddd7eb}.usage-detail>summary{list-style:none;display:flex;align-items:center;gap:16px;min-height:82px;cursor:pointer;font-size:20px}.usage-detail>summary::-webkit-details-marker{display:none}.usage-detail>summary .drawn-icon{width:42px;height:42px;background:#e9e1f7;padding:9px;border-radius:12px;transition:transform .2s}.usage-detail[open]>summary .drawn-icon{transform:rotate(-6deg)}.usage-detail>div{padding:0 12px 20px 58px;animation:login-arrive .25s ease}.usage-detail p{font-size:15px;line-height:1.9}.trash-row{gap:12px;flex-wrap:wrap}.trash-row>span{overflow-wrap:anywhere;min-width:0;flex:1}.toolbar{gap:12px;flex-wrap:wrap}#identity{overflow-wrap:anywhere;min-width:0}
@media(max-width:640px){.nav{min-height:72px;padding:10px 16px;gap:6px}.nav .logo{font-size:28px}.nav nav{gap:2px}.nav .icon-only{width:40px!important;min-width:40px;height:44px;padding:10px!important}.nav .language{margin-left:2px;padding:2px}.language button{min-height:40px;min-width:36px}.nav .language button{padding:4px 6px}main{padding-left:16px;padding-right:16px}.intro{padding:40px 0 58px;gap:20px;min-height:0}.intro h1{font-size:38px}.intro .stage{min-height:360px}.stage-orbit{max-width:85vw;max-height:85vw}.account h1{font-size:32px}.projects{grid-template-columns:1fr}.projects article{padding:22px}.account #brand-form{padding:22px 18px}.account .url{display:flex;min-width:0}.url input{min-width:0;width:100%}.url span{font-size:12px;white-space:nowrap}input,textarea,select{font-size:16px!important}#create,#submit{width:100%;min-height:52px}#brief{padding:20px 16px}.pipeline{gap:4px!important}.pipeline li{font-size:11px!important;min-width:0;padding:10px 4px!important}.pipeline .drawn-icon{width:25px;height:25px}.results{position:static;max-height:none;overflow:visible}.toolbar h2{font-size:24px}.usage-detail>summary{font-size:18px;gap:12px}.usage-detail>div{padding:0 4px 18px}.usage-page h1{font-size:30px}.icon-action:active{background:#e7def8}.icon-action.primary:active{background:#6450dd}footer{flex-wrap:wrap;gap:12px}dialog{width:calc(100% - 32px);max-width:460px}dialog .toolbar button{flex:1;min-height:48px}.style-peek{min-height:100px}}
@media(prefers-reduced-motion:reduce){.icon-action>.drawn-icon,.brand-credits i,.login-visual .drawn-icon,.usage-detail>div,.usage-detail>summary .drawn-icon{animation:none!important;transition:none!important;transform:none!important}}
/* Audit fixes: visible touch feedback, compact screens, reduced motion. */
@media(hover:none){.style-card.selected .style-info{opacity:1;visibility:visible;transform:none}.icon-action:active .drawn-icon{transform:scale(.88)}.brand-card:active{border-color:#9a84ce}}
@media(max-width:640px){.nav .icon-only{min-width:44px!important;width:44px!important}.language button{min-width:44px!important;min-height:44px!important}.nav{gap:4px}.nav nav{gap:0}.nav .language{margin-left:0}.usage-page>.nav{flex-wrap:wrap}.preview{max-width:100%}.style-grid{overscroll-behavior:contain}.asset-thumb button{width:44px;height:44px;min-height:44px}.trash-row button{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
#process{scroll-margin-top:108px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6450dd;outline-offset:4px}#delete-dialog .toolbar{gap:12px}#delete-dialog .icon-action{white-space:normal}
.redirect-option{margin:24px 0;padding:20px;border:1px dashed #d1c5e5;border-radius:16px;background:#faf8ff;transition:background .25s,border-color .25s}.redirect-option label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.redirect-option label>.muted{margin:0 0 0 auto}.redirect-option svg,.redirect-flow svg{width:32px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:#7960ac;flex:none}.redirect-option input{width:100%;min-width:0}.redirect-flow{display:flex;gap:12px;align-items:center;min-width:0;margin:14px 0 0;color:#66517f;font-size:13px}.redirect-flow span{overflow-wrap:anywhere;min-width:0}.redirect-option .redirect-flow{opacity:.45;transition:opacity .25s}.redirect-option.has-target{border-style:solid;border-color:#ae98d5;background:#f0e9fc}.redirect-option.has-target .redirect-flow{opacity:1}.redirect-option.has-target .redirect-flow svg,.redirect-flow.is-pending svg{animation:route-travel 1.3s ease-in-out infinite}.route-check{display:grid;place-items:center;background:#e1eddb;color:#426637;width:28px;height:28px;border-radius:50%;flex:none;animation:route-check .3s ease-out}.brand-card:has(.redirect-flow) .primary{margin-top:18px}a[aria-disabled=true]{pointer-events:none;opacity:.5}#create-error:not(:empty){padding:12px 16px;border-radius:10px;background:#fff0f2;color:#92354b}#projects{scroll-margin-top:100px}@keyframes route-travel{50%{transform:translateX(5px)}}@keyframes route-check{from{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:640px){.redirect-option{padding:16px}.redirect-option label{font-size:14px}.redirect-flow{gap:8px;font-size:12px}}@media(prefers-reduced-motion:reduce){.redirect-flow svg,.route-check{animation:none!important}.redirect-option{transition:none}}

/* Destructive action: isolated corner icon and illustrated confirmation. */
.brand-card{position:relative}.brand-card .delete-brand{position:absolute;right:12px;top:12px;min-width:44px;min-height:44px;margin:0;z-index:2}.brand-card h2{padding-right:38px}
#delete-dialog{width:min(400px,calc(100vw - 32px));box-sizing:border-box;text-align:center;border:0;border-radius:28px;padding:24px;box-shadow:0 24px 100px #29203938}#delete-dialog[open]{animation:delete-pop .28s ease-out}#delete-dialog::backdrop{background:#24213770;backdrop-filter:blur(5px)}.delete-art{width:144px;margin:0 auto}.delete-art svg{width:100%;display:block}.delete-lid{transform-origin:45px 51px;animation:lid-lift 2.4s ease-in-out infinite}.delete-paper{animation:paper-bob 2.4s ease-in-out infinite}#delete-warning{line-height:1.7;color:#745466}#delete-brand{font-weight:700;overflow-wrap:anywhere}#delete-dialog .toolbar{display:flex;justify-content:center;gap:12px}#delete-confirm{background:#a93655;color:white;border-color:#a93655;min-height:48px}#delete-cancel{min-height:48px}#delete-error:empty{display:none}@keyframes delete-pop{from{opacity:0;transform:translateY(12px) scale(.95)}to{opacity:1;transform:none}}@keyframes lid-lift{0%,100%{transform:rotate(0)}50%{transform:rotate(-9deg)}}@keyframes paper-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}@media(prefers-reduced-motion:reduce){#delete-dialog[open],.delete-lid,.delete-paper{animation:none}}

#build-progress{padding:18px;margin:18px 0;border:1px solid #d9d0fa;border-radius:18px;background:#f4f0ff}.progress-heading{display:flex;align-items:center;gap:10px}.progress-heading strong{font-size:14px}.progress-heading time{margin-left:auto;font-variant-numeric:tabular-nums;font-size:13px;white-space:nowrap}.progress-track{height:8px;background:#ded7ef;border-radius:9px;overflow:hidden;margin:14px 0}.progress-track span{display:block;width:35%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b89aef,#6d4ed7);animation:build-sweep 1.8s ease-in-out infinite}#build-progress small{font-size:12px;color:#655676}#build-progress[data-state=done] .progress-track span{width:100%;background:#439a78;animation:none}#build-progress[data-state=error] .progress-track span{background:#ae536d;animation:none}@keyframes build-sweep{0%{transform:translateX(-110%)}100%{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.progress-track span{animation:none}}
.style-scene,.style-scene svg{width:100%;height:100%;display:block}.style-scene g{transform-box:fill-box;transform-origin:center}.style-card:hover .style-info{background:#21182d88}.style-scene text{stroke-width:0;fill:currentColor}.style-scene{color:#24232b}.style-card:nth-child(2) .style-scene,.style-card:nth-child(5) .style-scene,.style-card:nth-child(11) .style-scene,.style-card:nth-child(18) .style-scene{color:#fff}
.style-peek:hover .scene-underline{animation:styleUnderline 1s both}.scene-curtain{animation:styleCurtain 5s ease-in-out infinite}.scene-unfold{animation:styleUnfold 7s ease-in-out infinite}.scene-typebeat{animation:styleType 6s steps(3) infinite}.scene-assembly{animation:styleAssembly 12s linear infinite}.scene-stamp{animation:styleStamp 6s steps(4) infinite}.scene-breathe{animation:styleBreathe 8s ease-in-out infinite}.style-peek:hover .scene-step{animation:styleStep .5s steps(2) both}.scene-quiet{animation:styleQuiet 10s ease-in-out infinite}.scene-thrust{animation:styleThrust 4s ease-out infinite}.scene-gem{animation:styleGem 9s ease-in-out infinite}.scene-wave{animation:styleWave 7s ease-in-out infinite}.style-peek:hover .scene-paper{animation:stylePaper 1s both}.scene-snap{animation:styleSnap 6s steps(3) infinite}.scene-connect{animation:styleConnect 6s linear infinite}.scene-hop{animation:styleHop 5s ease-in-out infinite}.style-peek:hover .scene-aperture{animation:styleAperture 1s both}.scene-tunnel{animation:styleTunnel 8s ease-in-out infinite}.scene-leaf{animation:styleLeaf 9s ease-in-out infinite}.scene-gridbeat{animation:styleGrid 6s steps(3) infinite}
@keyframes styleUnderline{from{transform:translateX(-3px)}to{transform:translateX(0)}}@keyframes styleCurtain{0%,100%{clip-path:inset(0)}50%{clip-path:inset(0 6% 0 6%)}}@keyframes styleUnfold{50%{transform:perspective(400px) rotateY(9deg)}}@keyframes styleType{50%{transform:translateY(-3px)}}@keyframes styleAssembly{50%{transform:perspective(400px) rotateY(30deg) rotateX(10deg)}}@keyframes styleStamp{0%,85%,100%{transform:scale(1)}90%{transform:scale(.94) rotate(-3deg)}}@keyframes styleBreathe{50%{transform:scale(1.035)}}@keyframes styleStep{to{transform:translate(4px,-4px)}}@keyframes styleQuiet{50%{opacity:.7}}@keyframes styleThrust{0%,75%,100%{transform:translateX(0)}85%{transform:translateX(8px) skewX(-3deg)}}@keyframes styleGem{50%{transform:perspective(300px) rotateY(-12deg);filter:brightness(1.3)}}@keyframes styleWave{50%{transform:translate(-4px,3px)}}@keyframes stylePaper{to{transform:rotate(-3deg) translateY(-2px)}}@keyframes styleSnap{0%,85%,100%{transform:rotate(0)}90%{transform:rotate(3deg)}}@keyframes styleConnect{50%{stroke-dasharray:20 2}0%,100%{stroke-dasharray:20 0}}@keyframes styleHop{0%,70%,100%{transform:translateY(0) scale(1)}80%{transform:translateY(3px) scale(1.04,.94)}90%{transform:translateY(-7px) scale(.97,1.04)}}@keyframes styleAperture{from{clip-path:inset(0 18%)}to{clip-path:inset(0)}}@keyframes styleTunnel{50%{transform:scale(.89);opacity:.65}}@keyframes styleLeaf{50%{transform:rotate(3deg)}}@keyframes styleGrid{50%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){.style-scene g{animation:none!important;transform:none!important;opacity:1!important;clip-path:none!important}}
.card-redirect{margin-top:24px;padding-top:16px;border-top:1px solid #dedbe8}.card-redirect label{display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 8px}.card-redirect svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .25s}.card-redirect:focus-within svg{transform:translateX(4px)}.card-redirect input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;border:1px solid #dedbe8;border-radius:12px;padding:12px;background:#faf9fe;font-size:16px}.card-redirect-status{font-size:12px!important;margin:6px 0 0!important;min-height:20px}.card-redirect[data-state=saving] svg{animation:routePulse 1s ease-in-out infinite}.card-redirect[data-state=error] .card-redirect-status{color:#a34361}.card-redirect[data-state=saved] svg{color:#286e51}@keyframes routePulse{50%{transform:translateX(6px);opacity:.4}}@media(prefers-reduced-motion:reduce){.card-redirect svg{animation:none!important;transition:none!important}}

#delete-close{position:absolute;top:10px;right:10px;width:44px;height:44px;min-height:44px;padding:11px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#756481;cursor:pointer;transition:background .18s,transform .18s}#delete-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}#delete-close:hover{background:#eae3f3;transform:rotate(90deg)}#delete-close:active{transform:scale(.9)}
