@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root{font-family:'DM Sans',sans-serif;color:#25251f;background:#f6f5f0;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#25251f;--muted:#85847b;--paper:#f6f5f0;--card:#fffefa;--line:#e9e7df;--coral:#f06449;--green:#517d62;--violet:#8e70c1}
*{box-sizing:border-box}
body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 9% 12%,rgba(244,221,185,.24),transparent 30%),radial-gradient(ellipse at 88% 73%,rgba(185,218,206,.22),transparent 31%),var(--paper)}
button,input{font:inherit}
[hidden]{display:none!important}
.welcome-screen{min-height:100vh;display:flex;flex-direction:column;justify-content:space-between;padding:27px clamp(22px,6.6vw,104px) 25px;overflow:hidden;position:relative}
.welcome-top,.welcome-bottom{display:flex;align-items:center;justify-content:space-between;color:#87867d;font-size:12px;letter-spacing:.04em}
.tiny-mark{width:29px;height:29px;display:grid;place-items:center;background:var(--ink);color:#fff;border-radius:50%;font:700 14px Outfit,sans-serif}
.welcome-top{gap:12px;justify-content:flex-start}
.welcome-card{position:relative;width:min(100%,560px);margin:-12px auto 0;text-align:center;padding:20px 10px 0;animation:arrive .8s cubic-bezier(.2,.8,.2,1) both}
.brand{display:inline-flex;align-items:center;font-family:Outfit,sans-serif;font-weight:800;letter-spacing:-.075em;white-space:nowrap}
.brand span{display:inline-block;animation:letter-float 2.8s ease-in-out infinite;animation-delay:calc(var(--n,0)*90ms)}
.brand span:nth-child(1){color:#f06449;--n:0}.brand span:nth-child(2){color:#edae45;--n:1}.brand span:nth-child(3){color:#75a970;--n:2}.brand span:nth-child(4){color:#51a5a3;--n:3}.brand span:nth-child(5){color:#6684c3;--n:4}.brand span:nth-child(6){color:#9171c1;--n:5}.brand span:nth-child(7){color:#d46b9a;--n:6}.brand span:nth-child(8){color:#e88953;--n:7}
.brand-large{font-size:clamp(54px,10vw,92px);line-height:1.05;margin-bottom:26px}
.eyebrow{margin:0;color:#a09e92;font-size:10px;font-weight:700;letter-spacing:.17em}
.welcome-card h1{font:600 clamp(28px,4.4vw,40px)/1.14 Outfit,sans-serif;letter-spacing:-.045em;margin:12px 0 13px}
.welcome-card h1 em{font-weight:400;color:#85847b}
.welcome-copy{max-width:390px;margin:0 auto;color:#77766f;font-size:14px;line-height:1.75}
.join-form{max-width:410px;margin:32px auto 0;text-align:left}
.join-form label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}
.join-row{display:flex;gap:9px}
.join-row input{min-width:0;flex:1;height:52px;padding:0 16px;border:1px solid #e4e1d8;border-radius:12px;background:rgba(255,254,250,.8);outline:none;transition:border-color .2s,box-shadow .2s}
.join-row input:focus{border-color:#9c9788;box-shadow:0 0 0 3px rgba(120,115,98,.1)}
.join-row input::placeholder{color:#aaa89f}
.go-button{height:52px;border:0;border-radius:12px;padding:0 21px;color:white;background:var(--ink);font-weight:700;cursor:pointer;transition:transform .2s,background .2s;white-space:nowrap}
.go-button:hover{background:#49483f;transform:translateY(-2px)}.go-button span{margin-left:7px;font-size:17px}
.form-error{min-height:18px;margin:7px 0 0;color:#bd4439;font-size:12px}
.welcome-note{margin-top:17px;color:#96948a;font-size:11px}.note-dot,.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#83a979;margin-right:6px;vertical-align:1px}
.welcome-spark{position:absolute;color:#e3a850;animation:sparkle 3s ease-in-out infinite}.spark-one{font-size:25px;top:15%;right:5%}.spark-two{font-size:18px;left:2%;top:48%;color:#8e70c1;animation-delay:1s}
.welcome-bottom{font-size:9px;font-weight:700;letter-spacing:.15em}.welcome-bottom span:last-child{font-size:11px;letter-spacing:0;font-weight:500}
@keyframes letter-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(-2deg)}}
@keyframes arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes sparkle{0%,100%{transform:scale(.8) rotate(0);opacity:.55}50%{transform:scale(1.15) rotate(18deg);opacity:1}}

.studio-screen{min-height:100vh;padding:0 clamp(18px,5vw,76px);display:flex;flex-direction:column;max-width:1600px;margin:auto}
.studio-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(220,218,208,.72);flex-shrink:0}
.brand-small{font-size:27px}.header-center{display:flex;align-items:center;gap:8px;color:#77766f;font-size:12px}.live-indicator{width:8px;height:8px;border-radius:50%;background:#74a66b;box-shadow:0 0 0 4px rgba(116,166,107,.13)}
.header-people{display:flex;align-items:center;gap:6px;font-size:12px;color:#64635b}.people-icon{color:#d59645;font-size:17px;margin-right:2px}.people-word{color:#97958b}
.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:30px;flex:1;padding:30px 0 20px;align-items:stretch}
.canvas-column{min-width:0;display:flex;flex-direction:column}
.canvas-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:15px}
.canvas-heading h1{font:600 clamp(22px,3vw,30px)/1.1 Outfit,sans-serif;letter-spacing:-.04em;margin:7px 0 0}.canvas-heading h1 span{color:#a071aa}
.canvas-caption{font-size:11px;color:#8b897f;white-space:nowrap;padding-bottom:3px}.pulse-dot{background:#daaa55;width:6px;height:6px}
.canvas-frame{position:relative;min-height:330px;flex:1;border:1px solid #e8e5dc;border-radius:17px;overflow:hidden;background-color:#fffefa;background-image:radial-gradient(#e9e5db .8px,transparent .8px);background-size:19px 19px;box-shadow:0 12px 35px rgba(49,44,31,.045)}
#drawing-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;z-index:1}
.canvas-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;color:#aaa79c;pointer-events:none;transition:opacity .25s;z-index:0}.canvas-empty.is-hidden{opacity:0}
.empty-star{font-size:35px;color:#e6bc6c;animation:sparkle 3s infinite}.canvas-empty p{font-size:14px;line-height:1.7;margin:0}.canvas-empty strong{font-weight:600;color:#77756d}.empty-hint{font-size:10px;color:#aaa79c}
.canvas-badge{position:absolute;top:14px;right:15px;border:1px solid #eeece5;background:rgba(255,254,250,.84);border-radius:20px;padding:6px 10px;color:#929086;font-size:10px;z-index:2;pointer-events:none}.canvas-badge span{color:#dfac51;margin-right:4px}
.toolbar{margin-top:13px;min-height:81px;background:rgba(255,254,250,.82);border:1px solid #e9e7df;border-radius:14px;padding:12px 17px;display:flex;align-items:center;gap:20px}
.tool-group{display:flex;flex-direction:column;gap:8px}.tool-label{font-size:9px;letter-spacing:.13em;color:#9b998f;font-weight:700;white-space:nowrap}.tool-label b{color:#55544d;margin-left:4px}.palette{display:flex;align-items:center;gap:8px}.color-swatch{height:21px;width:21px;border-radius:50%;border:2px solid rgba(255,255,255,.9);outline:1px solid transparent;cursor:pointer;transition:transform .16s,outline-color .16s}.color-swatch:hover{transform:scale(1.14)}.color-swatch.selected{outline-color:#45443d;transform:scale(1.1)}
.toolbar-divider{height:39px;width:1px;background:#e9e7df}.size-group{width:140px}.size-group input{width:100%;height:4px;margin:2px 0;accent-color:#514f46;cursor:pointer}.range-ends{display:flex;justify-content:space-between;font-size:9px;color:#aaa89f;margin-top:-5px}.toolbar-tip{margin-left:auto;color:#99978d;font-size:10px;white-space:nowrap}.toolbar-tip span{color:#bf9960;margin-right:5px;font-size:15px}
.side-panel{display:flex;flex-direction:column;gap:15px;padding-top:1px}.people-card,.how-card{background:rgba(255,254,250,.82);border:1px solid #e9e7df;border-radius:15px;padding:18px}.panel-heading{display:flex;justify-content:space-between;align-items:center}.panel-heading h2{margin:5px 0 0;font:600 19px Outfit,sans-serif;letter-spacing:-.03em}.people-count-badge{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f0eee7;color:#68665d;font-size:11px;font-weight:700}.participant-list{margin-top:15px;display:flex;flex-direction:column;gap:11px;max-height:210px;overflow:auto}.participant{display:flex;align-items:center;gap:9px;font-size:12px;color:#5e5d55}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700}.participant-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.you-tag{margin-left:auto;color:#aaa79c;font-size:9px}
.how-card{position:relative;overflow:hidden;background:#efeee6;flex:1;min-height:202px;padding:21px}.how-icon{color:#d7a550;font-size:20px}.how-card h2{font:600 22px/1.05 Outfit,sans-serif;letter-spacing:-.04em;margin:15px 0 9px}.how-card p{color:#848278;font-size:11px;line-height:1.65;margin:0;max-width:200px}.fade-demo{position:absolute;left:22px;right:20px;bottom:19px;display:flex;align-items:center;gap:8px}.fade-line{height:2px;flex:1;background:linear-gradient(90deg,#d86d67,#e8ba70 52%,transparent);border-radius:4px}.fade-label{font-size:8px;color:#a09e92;white-space:nowrap}
.privacy-note{display:flex;gap:10px;align-items:flex-start;color:#99978d;padding:2px 3px}.privacy-note>span{font-size:16px}.privacy-note p{font-size:10px;line-height:1.6;margin:0}.privacy-note strong{color:#737168;font-weight:600}
.studio-footer{height:38px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(220,218,208,.72);color:#a3a196;font-size:9px;letter-spacing:.12em}.footer-separator{padding:0 4px;color:#d0aa68}.studio-footer span:last-child{letter-spacing:0;font-size:10px}
@media(max-width:900px){.studio-layout{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.toolbar{gap:13px;padding:12px}.toolbar-tip{display:none}.side-panel{gap:11px}.people-card,.how-card{padding:15px}}
@media(max-width:680px){.welcome-screen{padding:19px 20px 18px}.welcome-top{font-size:10px}.welcome-card{margin:auto;padding-top:0}.welcome-bottom{font-size:8px}.spark-one{right:1%;top:8%}.spark-two{left:0;top:42%}.studio-screen{padding:0 15px}.studio-header{height:59px}.brand-small{font-size:23px}.header-center{font-size:10px}.people-word{display:none}.studio-layout{display:flex;flex-direction:column;padding:23px 0 15px;gap:14px}.canvas-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:12px}.canvas-heading h1{font-size:24px}.canvas-caption{font-size:10px}.canvas-frame{flex:initial;height:min(56vh,480px);min-height:280px}.toolbar{flex-wrap:wrap;justify-content:space-between;min-height:unset}.size-group{width:112px}.side-panel{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.people-card,.how-card{padding:14px}.people-card{min-height:145px}.participant-list{gap:7px;margin-top:12px}.participant{font-size:10px}.avatar{width:24px;height:24px}.how-card{min-height:145px}.how-card h2{font-size:18px;margin:10px 0 6px}.how-card p{font-size:10px}.fade-demo{left:14px;right:12px;bottom:12px}.fade-label{font-size:7px}.privacy-note{grid-column:1/-1}.studio-footer{height:34px}.studio-footer>span:first-child{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
