:root{color-scheme:light;--ink:#492352;--muted:#866382;--pink:#f84090;--purple:#8150de;--line:#ecd9ed;--cream:#fffcf4}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#fff5e5;color:var(--ink);font-family:ui-rounded,"SF Pro Rounded",system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,a{transition:transform .16s,background .16s,box-shadow .16s}button:focus-visible,a:focus-visible{outline:3px solid #5324a1;outline-offset:4px}button:hover{transform:translateY(-2px)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:default;transform:none}svg{display:block;width:100%;height:100%}.game-shell{width:min(1440px,calc(100% - 48px));margin:auto}.game-shell .topbar{grid-template-columns:44px minmax(0,1fr) auto;gap:16px;padding:16px 0}.game-shell .home-link{width:42px;height:42px;background:#fff;border:1px solid #e7d5df;border-radius:50%;box-shadow:0 3px 0 #efdae2;font-size:21px;color:var(--ink)}.brand{display:flex;align-items:center;gap:13px}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#ffdf4f;color:#ce398a;font-size:39px;transform:rotate(-8deg);box-shadow:0 3px 0 #ecc034}.eyebrow{margin:0 0 4px;font-size:9px;letter-spacing:.14em;font-weight:800}h1{margin:0;font-size:29px;line-height:1.1;letter-spacing:-.05em}.header-note{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.header-note i{width:7px;height:7px;border-radius:50%;background:#ec5a9c;box-shadow:0 0 0 4px #fce0e7}.studio{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;height:calc(100svh - 120px);min-height:572px;max-height:850px}.stage{display:flex;flex-direction:column;min-width:0;background:#ffe2f0;border:1px solid #e8b7d3;border-radius:26px;overflow:hidden;box-shadow:0 7px 0 #f3dfdc}.stage-heading{height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fbbfdc;border-bottom:1px solid #ec9fc6;font-size:9px;letter-spacing:.12em;font-weight:800}.stage-heading>span:last-child{font-weight:500;letter-spacing:0;font-size:10px}.scene-wrap{position:relative;flex:1;min-height:0;background:#ffc6e1;overflow:hidden}#scene{width:100%;height:100%}.friend-label{position:absolute;top:18px;left:22px;display:grid;gap:3px;pointer-events:none}.friend-label .eyebrow{font-size:8px;color:#814564}.friend-label strong{font-size:21px;letter-spacing:-.045em}.friend-label>span:last-child{font-size:10px;color:#81556e}.style-badge{position:absolute;top:18px;right:20px;display:flex;align-items:center;gap:9px;padding:9px 12px;background:#fff8e8;border:1px solid #eebc80;border-radius:14px;box-shadow:0 3px 0 #c96b8930}.style-badge>span{font-size:28px;color:#e0a20c;text-shadow:1px 1px #aa7607}.style-badge strong{font-size:10px}.meter-track{height:6px;background:#f0decf;margin-top:7px;width:85px;border-radius:5px;overflow:hidden}#styleMeter{height:100%;width:18%;background:linear-gradient(90deg,#ff9954,#f84090);border-radius:inherit;transition:width .3s}.runway-button{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);padding:10px 22px;white-space:nowrap;background:#fffcf4;border:1px solid #d997bc;border-radius:99px;box-shadow:0 4px 0 #dc93b9;font-size:12px;font-weight:800}.runway-button:hover{transform:translate(-50%,-2px)}.runway-button:active{transform:translate(-50%,1px)}.runway-button>span{color:#dc438a;font-size:17px;margin-right:5px}.friend-picker{height:77px;flex-shrink:0;background:#fff5fd;border-top:1px solid #e6bdd5;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 16px}.picker-label{font-size:10px;line-height:1.6;margin-right:7px;color:#8b6a86}.picker-label strong{font-size:12px;color:var(--ink)}.profile-arrow{height:30px;width:30px;background:#fff;border:1px solid #dcc8e1;border-radius:50%;font-size:23px;line-height:1}.profile-portraits{display:flex;gap:11px}.portrait{position:relative;height:49px;width:49px;padding:0;border-radius:50%;border:2px solid transparent;background:#eedfff;overflow:visible}.portrait svg{border-radius:50%;overflow:hidden}.portrait.active{border-color:#bc368c;box-shadow:0 0 0 3px #f3c5e6}.portrait.active:after{content:'♥';position:absolute;bottom:-4px;right:-2px;display:grid;place-items:center;width:17px;height:17px;background:#c23d8e;color:white;font-size:10px;border-radius:50%}.saved-note{font-size:9px;color:#93738b;line-height:1.7;margin-left:7px}.status-bar{height:39px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:9px;background:#fffaf0;border-top:1px solid #eddae1;padding:0 14px}.status-bar>span{color:#e17a38;font-size:20px}.status-bar p{margin:0;font-size:11px;font-weight:650}.controls{display:flex;flex-direction:column;gap:15px;border:1px solid #e4d4e3;border-radius:26px;background:#fffdf8;padding:21px;box-shadow:0 7px 0 #f1e6db}.closet-heading{display:flex;justify-content:space-between;align-items:center}.closet-heading .eyebrow{color:#a07099;font-size:8px;letter-spacing:.11em}.closet-heading h2{font-size:23px;margin:0;letter-spacing:-.055em}.closet-heading>span{font-size:33px;color:#f282ad}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.section-heading h3{margin:0;font-size:11px;font-weight:750}.section-heading h3 b{display:inline-grid;place-items:center;width:18px;height:18px;background:#f0e3f3;color:#8b5493;border-radius:6px;font-size:9px;margin-right:5px}.section-heading>span{font-size:9px;color:#8e6c8a}.swatches{display:flex;justify-content:space-between;gap:7px;padding:2px}.swatch{width:33px;height:33px;flex-shrink:0;background:var(--swatch);border:3px solid #fff;border-radius:50%;box-shadow:0 1px 0 1px #eadfe5}.swatch.active{outline:2px solid #613268;outline-offset:2px;position:relative}.swatch.active:after{content:'✓';color:var(--check,#fff);font-size:17px;font-weight:900;text-shadow:0 1px #0003}.patterns{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.pattern-button{padding:8px 2px 6px;display:grid;justify-items:center;gap:5px;border:1px solid #e3d8e6;background:#faf6fb;border-radius:11px;font-size:9px;font-weight:700}.pattern-button>span{height:21px;width:32px;border-radius:5px;display:grid;place-items:center;font-size:20px;background:var(--fabric,#f84090);color:#fff}.pattern-button.active{background:#f0e2ff;border-color:#a576c9;box-shadow:inset 0 0 0 1px #a576c9}.pattern-button[data-pattern=rainbow]>span{background:linear-gradient(135deg,#ff589a 0 17%,#ff964f 17% 34%,#ffdc43 34% 51%,#45cc95 51% 68%,#36b6ed 68% 85%,#9e6ee9 85%)}.pattern-button[data-pattern=dots]>span{background-image:radial-gradient(#fff 2px,transparent 2.5px);background-size:9px 9px}.closet{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.clothes-button{position:relative;display:grid;place-items:center;gap:2px;height:76px;border:1px solid #e8dce7;border-radius:12px;background:#fff7ec;padding:4px 3px 6px}.clothes-button:nth-child(2n){background:#f4edff}.clothes-button:nth-child(3n){background:#e6f9f3}.clothes-button svg{width:45px;height:45px;overflow:visible}.clothes-button strong{font-size:9px}.clothes-button.active{border-color:#ba7bac;box-shadow:inset 0 0 0 1px #c385b5}.clothes-button.active:after{content:'✓';position:absolute;top:3px;right:3px;background:#b43a8b;color:#fff;border-radius:50%;height:13px;width:13px;font-size:9px;line-height:13px}.fabric-note{display:flex;align-items:center;gap:10px;padding:9px 11px;background:#fff2e5;border:1px dashed #e9c8ba;border-radius:12px}.fabric-note>span{display:grid;place-items:center;height:34px;width:34px;flex-shrink:0;color:#fff;background:#f84090;border-radius:9px;transform:rotate(-7deg);font-size:23px}.fabric-note p{margin:0;font-size:10px;line-height:1.6;color:#8c6375}.fabric-note strong{font-size:9px;font-weight:500}.actions{display:grid;grid-template-columns:1.35fr 1fr;gap:8px;margin-top:auto}.actions button{height:43px;border:1px solid #d8c5de;background:#f5eaf9;border-radius:12px;box-shadow:0 3px 0 #ded0e5;font-size:11px;font-weight:750}.actions #surpriseButton{background:#8351d7;border-color:#7140c4;color:#fff;box-shadow:0 3px 0 #6734b4}.actions span{font-size:17px;vertical-align:middle;margin-right:4px}.remove-button{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;font-size:10px;color:#8c708b;align-self:center;padding:2px 10px}footer{display:flex;justify-content:space-between;color:#95788c;font-size:10px;padding:14px 4px}footer>span:first-child{font-style:italic}.runway-badge{position:absolute;top:17%;right:7%;width:146px;padding:14px 12px;background:#fff8df;border:2px solid #f2b854;border-radius:22px;text-align:center;transform:rotate(7deg);box-shadow:0 5px 0 #d9977740}.runway-badge[hidden]{display:none}.runway-badge>span{display:block;color:#e59b20;font-size:28px}.runway-badge strong{display:block;font-size:15px}.runway-badge small{display:block;font-size:10px;line-height:1.5;margin-top:6px}.sparkle{position:absolute;width:9px;height:14px;left:50%;top:45%;border-radius:3px;background:var(--c);animation:confetti .95s ease-out forwards;pointer-events:none}@keyframes confetti{from{opacity:1;transform:translate(0,0) rotate(0)}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(220deg)}}.doll.pop{animation:pop .42s ease-out;transform-origin:400px 500px}.doll.pose{animation:pose .8s ease-in-out;transform-origin:400px 500px}@keyframes pop{50%{transform:translateY(-9px) rotate(-2deg)}}@keyframes pose{25%{transform:rotate(-7deg)}65%{transform:translateY(-10px) rotate(7deg)}}
@media(max-height:760px) and (min-width:861px){.controls{padding:16px 19px;gap:12px}.studio{min-height:563px}.clothes-button{height:70px}.clothes-button svg{height:39px;width:39px}.fabric-note{padding:6px 9px}.friend-picker{height:69px}.topbar .brand-mark{width:43px;height:43px}.game-shell .topbar{padding:14px 0}.closet-heading h2{font-size:21px}.pattern-button{padding-top:6px}.actions button{height:39px}}
@media(min-width:1500px){.scene-wrap{background:#ffc6e1}.controls{gap:23px;padding:27px}.clothes-button{height:91px}.clothes-button svg{width:57px;height:57px}}
@media(max-width:1050px){.game-shell{width:calc(100% - 28px)}.studio{grid-template-columns:minmax(0,1fr) 305px;gap:14px}.controls{padding:17px;gap:13px}.saved-note{display:none}.friend-label strong{font-size:18px}.friend-label{left:15px}.style-badge{right:12px;padding:7px 9px}.swatch{width:31px;height:31px}}
@media(max-width:860px){.studio{height:auto;max-height:none;min-height:0;grid-template-columns:1fr}.stage{height:610px}.controls{display:grid;grid-template-columns:1fr 1fr;gap:19px}.closet-heading,.wardrobe-section{grid-column:1/-1}.closet{grid-template-columns:repeat(8,1fr)}.fabric-note{align-self:center}.remove-button{grid-column:1/-1}.header-note{display:none}.game-shell .topbar{grid-template-columns:42px 1fr}.game-shell .topbar .brand{grid-column:2;justify-self:start}.game-shell .topbar .header-note{display:none}.actions{margin-top:0;align-self:center}footer{gap:15px}.clothes-button{height:77px}}
@media(max-width:560px){.game-shell{width:calc(100% - 20px)}h1{font-size:25px}.brand .eyebrow{font-size:7px}.brand-mark{display:none}.stage{height:540px}.stage-heading{padding:0 14px;font-size:8px}.friend-label{top:13px;left:13px}.friend-label .eyebrow{font-size:6px}.friend-label strong{font-size:16px}.friend-label>span:last-child{font-size:8px}.style-badge{top:12px;right:12px;gap:5px}.style-badge>span{font-size:22px}.style-badge strong{font-size:8px}.meter-track{width:60px}.friend-picker{gap:7px;padding:8px}.profile-portraits{gap:8px}.portrait{height:43px;width:43px}.picker-label{font-size:8px;margin-right:0}.picker-label strong{font-size:10px}.profile-arrow{width:26px;height:26px}.status-bar p{font-size:10px}.controls{padding:18px;gap:17px}.fabric-section,.pattern-section{grid-column:1/-1}.swatches{justify-content:start;gap:15px}.swatch{width:36px;height:36px}.closet{grid-template-columns:repeat(4,1fr)}.fabric-note,.actions{grid-column:1/-1}.pattern-button{font-size:10px}.pattern-button>span{width:45px;height:25px}.runway-badge{right:3%;width:111px;top:25%;padding:9px}.runway-badge strong{font-size:12px}.runway-badge small{font-size:9px}footer{font-size:9px;line-height:1.6}.actions button{height:45px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.sparkle{display:none}}
