@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{--ink:#2f2440;--muted:#9a8ba8;--pink:#ed80b4;--purple:#9570cc}*{box-sizing:border-box}body{margin:0;background:#f7f3fa;color:var(--ink);font:13px 'DM Sans',system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer;border:1px solid #e9e0ef;background:white;color:inherit;transition:background .15s,transform .15s}button:hover{background:#f9e8f3}button:active{transform:scale(.97)}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b388dc;outline-offset:2px}header{height:79px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #ece3f0}.brand{text-decoration:none;color:#302340;font:800 24px Outfit;letter-spacing:-.7px}.brand span{color:#dc77ab}.brand b{display:block;font:600 8px 'DM Sans';letter-spacing:3.4px;margin:3px 0 0 23px;color:#a08ba9}nav{display:flex;gap:9px;align-items:center}nav button{border-radius:25px;padding:10px 15px;font-weight:600;font-size:12px}nav button span{background:#f3e9f8;padding:2px 6px;border-radius:8px;margin-left:3px}.stars{padding:10px 14px;border-radius:25px;background:#fff5dc;color:#a47b36;font-weight:700}main{padding:18px 22px 0;display:grid;grid-template-columns:minmax(0,1fr) 418px;gap:18px;height:calc(100dvh - 115px);min-height:640px;max-width:1920px;margin:auto}.game{position:relative;overflow:hidden;border-radius:22px;background:#d8c9e6;border:1px solid #e1d4e8;isolation:isolate}#viewport{position:absolute;inset:0}canvas{display:block;width:100%;height:100%;touch-action:none}#loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e9ddef;color:#816091;z-index:5;font-weight:600;gap:15px}.spin{font-size:44px;animation:spin 3s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.challenge{position:absolute;top:20px;left:20px;right:20px;background:#ffffffde;backdrop-filter:blur(14px);border:1px solid #fff;border-radius:16px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.challenge small,.wardhead small,.eyebrow{font-size:9px;letter-spacing:1.6px;color:#a17baf;font-weight:700}h1{font:600 23px Outfit;margin:5px 0 3px}.challenge p{font-size:11px;color:#9983a4;margin:0}.challenge button{border:0;background:#f1e6f6;color:#785291;padding:12px;border-radius:11px;font-weight:700;font-size:17px;min-width:86px}.challenge button span{font-size:12px;opacity:.65;margin-left:7px}.worldtabs{position:absolute;top:137px;left:20px;display:flex;gap:5px;padding:4px;background:#ffffffa8;backdrop-filter:blur(8px);border-radius:12px}.worldtabs button{border:0;background:transparent;border-radius:9px;font-size:11px;padding:8px 10px;color:#886e99}.worldtabs .active{background:white;color:#5c3b73;box-shadow:0 2px 6px #45335a0d}.viewtools{position:absolute;right:19px;top:150px;display:flex;flex-direction:column;gap:7px}.viewtools button{width:33px;height:33px;border-radius:50%;background:#ffffffc4;font-size:19px;border-color:white}.worldbottom{position:absolute;bottom:19px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:flex-end;gap:8px}.hint{font-size:11px;line-height:1.8;color:#705882;text-shadow:0 1px 2px white}.hint span{font-size:9px;opacity:.7}.avatarActions{display:flex;gap:7px}.avatarActions button{border:1px solid white;border-radius:20px;padding:10px 13px;background:#ffffffc9;font-size:11px;font-weight:600}.wardrobe{border:1px solid #e9dfef;border-radius:22px;background:white;padding:20px 18px 16px;display:flex;flex-direction:column;min-height:0}.wardhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.wardhead h2{font:600 25px Outfit;margin:4px 0 0}.wardhead>span{background:#f3ecf9;color:#9675ad;border-radius:20px;padding:6px 10px;font-size:10px}.categories{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-bottom:15px}.categories button{border:0;background:#faf7fc;border-radius:10px;padding:8px 2px;color:#9886a5;font-size:9px}.categories button b{display:block;font-size:17px;font-weight:400;line-height:1.3;margin-bottom:3px}.categories button.active{background:#3b2a4e;color:white}.searchrow{display:flex;gap:8px;margin-bottom:13px}.searchrow label{display:flex;align-items:center;border:1px solid #eee5f3;border-radius:10px;flex:1;padding:0 10px;background:#fcfafc}.searchrow label span{font-size:22px;color:#ad96b9}.searchrow input{width:100%;border:0;outline:none;background:transparent;font-size:11px;padding:10px 6px;color:#5b416c}.searchrow>button{border-radius:10px;padding:0 10px;font-size:10px;color:#9d86a9}.itemhead{display:flex;justify-content:space-between;font-size:10px;margin-bottom:10px}.itemhead strong{font-weight:600}.itemhead span{color:#aa96b4}.inventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow-y:auto;min-height:110px;flex:1;align-content:start;padding:2px 5px 5px 2px;scrollbar-width:thin;scrollbar-color:#ddc9e7 transparent}.item{min-height:116px;position:relative;border:1.5px solid #f0e8f5;background:#fcfafd;border-radius:12px;padding:4px 5px 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;text-align:center}.item svg{width:72px;height:74px;display:block}.item .name{font-size:10px;font-weight:600;line-height:1.25}.item .style{font-size:8px;color:#b09aba}.item.selected{background:#fef0f7;border-color:#e59ac0}.item.selected:after{content:'✓';position:absolute;top:5px;right:5px;background:#e88bb8;color:white;border-radius:50%;font-size:9px;line-height:15px;width:15px}.empty{grid-column:1/-1;padding:20px;text-align:center;color:#9a84a6}.customize{border-top:1px solid #f0e7f4;margin-top:12px;padding-top:10px}.customhead{display:flex;align-items:center;gap:8px;font-size:10px;margin-bottom:9px}.customhead>span{color:#b29bbc;font-size:9px;margin-left:auto}.customcolor{border:1px solid #e6d8ee;width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;position:relative}.customcolor input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.swatches{display:flex;gap:6px;flex-wrap:wrap}.swatches button{border-radius:50%;height:22px;width:22px;border:2px solid white;outline:1px solid #e8dfea;padding:0;position:relative}.swatches button.on{outline:2px solid #604473}.swatches button.on:after{content:'✓';color:#fff;text-shadow:0 1px 2px #000;line-height:16px;font-size:10px}.patterns{display:flex;gap:5px;margin:10px 0;overflow-x:auto}.patterns button{font-size:9px;border-radius:7px;padding:5px 8px;white-space:nowrap;color:#a18aad;background:#fcfafc}.patterns button.active{color:#80529a;background:#f2e7fa;border-color:#d9c2e8}details{border-top:1px solid #f0e7f4;padding-top:8px}summary{font-size:10px;font-weight:600;cursor:pointer;padding:3px 0;display:flex;align-items:center;justify-content:space-between}summary:before{content:'▸';color:#b8a0c2;margin-right:6px}details[open] summary:before{content:'▾'}#skinPreview{width:15px;height:15px;display:inline-block;border-radius:50%;margin-left:auto;border:1px solid #0001}.skinlabels{display:flex;justify-content:space-between;font-size:9px;color:#a18aad;margin-top:10px}#skinSlider{width:100%;height:12px;appearance:none;border-radius:10px;background:linear-gradient(to right,#ffeadb,#edc6a5,#bc835c,#805135,#41291e);margin:8px 0 10px;direction:ltr}#skinSlider::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:var(--skin,#edc6a5);border:3px solid white;box-shadow:0 0 0 1px #90799d;cursor:pointer}#skinSlider::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--skin,#edc6a5);border:3px solid white;box-shadow:0 0 0 1px #90799d;cursor:pointer}.skin{justify-content:space-between}.skin button{width:20px;height:20px}.bodyrow{display:flex;gap:14px;margin-top:10px;font-size:10px}.bodyrow label{display:flex;align-items:center;gap:9px}.bodyrow input{border:0;width:25px;height:22px;background:none;padding:0;cursor:pointer}.mainactions{display:flex;gap:8px;margin-top:12px}.mainactions button{border-radius:11px;padding:13px 10px;font-size:11px;font-weight:600}#random{background:#faf6fc;color:#91719f}.primary{background:linear-gradient(110deg,#df7aaa,#a07bd6);color:white;border:0;border-radius:12px;padding:14px 20px;font-weight:700;box-shadow:0 5px 15px #d29abd30}.primary:hover{background:linear-gradient(110deg,#da6fa3,#9069cb)}#show{flex:1}footer{height:36px;display:flex;justify-content:space-between;align-items:center;padding:0 30px;color:#ab97b6;font-size:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#382746ef;color:#fff;padding:12px 20px;border-radius:30px;z-index:15;display:none;text-align:center;font-size:12px}dialog{border:1px solid #e8d7ef;border-radius:24px;color:var(--ink);max-width:500px;width:90%;padding:35px;text-align:center;box-shadow:0 30px 100px #23152d55}dialog::backdrop{background:#2b193f99;backdrop-filter:blur(8px)}dialog h2{font:600 30px Outfit;margin:8px 0 14px}dialog p{color:#a08aab;line-height:1.7;font-size:13px}.close{position:absolute;top:10px;right:12px;border:0;background:none;font-size:25px;color:#b19cba}.trophy{font-size:65px;color:#dfb463;margin:15px 0 0}#rating{font-size:35px;letter-spacing:7px;color:#ddb159}#earned{margin:20px 0;color:#ad80c6;font-weight:700}dialog .primary{width:100%}.secondary{display:block;border:0;background:none;margin:15px auto 0;color:#a18aad}#savedLooks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:50vh;overflow:auto}.savedLook{border:1px solid #eee1f4;border-radius:13px;padding:8px;background:#fcf8ff}.savedLook img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.savedLook button{font-size:10px;border-radius:8px;padding:7px;margin:5px 2px 0}.dpad{position:absolute;bottom:83px;left:20px;display:none;text-align:center;user-select:none}.dpad button{width:30px;height:30px;background:#ffffffa9;border-color:white;border-radius:8px;touch-action:none}.dpad>button{margin-bottom:3px}
@media(min-width:1600px){main{grid-template-columns:minmax(0,1fr) 475px}.item{min-height:130px}.item svg{height:85px;width:85px}.wardrobe{padding:22px}.swatches{gap:8px}}
@media(max-width:1000px){main{grid-template-columns:minmax(0,1fr) 360px;padding:12px;gap:12px}.wardrobe{padding:16px 12px}.challenge{top:14px;left:14px;right:14px;padding:13px}h1{font-size:20px}.challenge p{font-size:10px}.hint span{display:none}.worldbottom{left:14px;right:14px}.hint{font-size:9px}.avatarActions button{padding:9px}.worldtabs{left:14px;top:129px}.item{min-height:105px}.item svg{height:65px}}
@media(max-width:720px){header{height:66px;padding:0 14px}.brand{font-size:20px}.brand b{font-size:6px;letter-spacing:2.7px;margin-left:20px}nav{gap:5px}nav button{font-size:10px;padding:8px 10px}.stars{font-size:11px;padding:8px}main{display:flex;flex-direction:column;height:auto;min-height:0;padding:10px;gap:10px}.game{height:64dvh;min-height:440px;border-radius:18px;flex-shrink:0}.wardrobe{height:730px;border-radius:18px;padding:17px}.wardhead{margin-bottom:13px}.categories{grid-template-columns:repeat(5,1fr);gap:6px}.categories button{font-size:10px}.categories button b{font-size:18px}.inventory{min-height:200px;grid-template-columns:repeat(4,minmax(0,1fr))}.item{min-height:108px}.item svg{width:65px;height:66px}.challenge{top:12px;left:12px;right:12px}.challenge h1{font-size:21px}.challenge p{font-size:9px}.challenge small{font-size:8px}.challenge button{font-size:15px;min-width:73px;padding:10px}.worldtabs{top:122px;left:12px}.viewtools{top:176px;right:12px}.worldbottom{bottom:12px}.hint{display:none}.avatarActions{margin-left:auto}.dpad{display:block;bottom:13px;left:12px}.swatches button{width:23px;height:23px}.customhead{margin-bottom:11px}footer{padding:0 15px;font-size:8px;height:35px}#savedLooks{grid-template-columns:repeat(2,1fr)}dialog{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.channelTabs{display:flex;gap:5px;margin-bottom:10px}.channelTabs button{flex:1;border-radius:9px;font-size:10px;padding:8px}.channelTabs .active{background:#3b2a4e;color:white;border-color:#3b2a4e}.colorExtra{display:flex;gap:6px;margin:10px 0}.colorExtra input{width:95px;border:1px solid #e8dfee;border-radius:8px;padding:7px;font:11px monospace;text-transform:uppercase}.colorExtra button{border-radius:8px;font-size:10px;padding:7px 10px}#favoriteColors{margin-bottom:8px}.fabricrow{display:flex;gap:12px;margin-bottom:12px;font-size:10px}.fabricrow label{display:flex;align-items:center;gap:7px;flex:1}.fabricrow select{border:1px solid #e8dfee;border-radius:6px;padding:5px;color:#7b628b;font:inherit;background:white}.fabricrow input{width:75px;accent-color:#ae80cb}.phoneControls,.phoneToolbar,.drawerClose,.touchHint{display:none}.patterns{flex-wrap:wrap;overflow:visible}.wardrobe{overflow-y:auto}.inventory{flex:1 0 155px}.mainactions{position:sticky;bottom:-16px;background:white;padding:10px 0;z-index:2}button{-webkit-tap-highlight-color:transparent}.phoneControls{pointer-events:none;position:absolute;inset:0}.phoneControls button,#joystick{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none}#joystick{position:absolute;left:24px;bottom:105px;width:116px;height:116px;background:#ffffff32;border:2px solid #ffffffa3;border-radius:50%;box-shadow:0 4px 25px #42295720;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(3px)}#joystick:before{content:'';position:absolute;inset:23px;border-radius:50%;border:1px solid #ffffff70}#stickKnob{display:flex;align-items:center;justify-content:center;background:#ffffffb8;border:2px solid white;box-shadow:0 3px 12px #36244525;width:52px;height:52px;border-radius:50%;font-size:25px;color:#9a80aa;will-change:transform}#joystick.engaged{background:#cfa5e35a;border-color:white}.phoneActions{position:absolute;right:20px;bottom:102px;width:130px;height:140px}.phoneActions button{position:absolute;border-radius:50%;background:#ffffffb3;border:2px solid #fff9;box-shadow:0 3px 15px #42295720;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#806092;width:56px;height:56px}.phoneActions button b{font-size:22px;line-height:1}.phoneActions button span{font-size:7px;font-weight:700;letter-spacing:.8px;margin-top:4px}#jumpButton{width:73px;height:73px;right:0;bottom:0;background:#f2e0f0de}#jumpButton b{font-size:31px}#runButton{left:0;bottom:2px}#runButton.held{background:#c5a1de;color:white}#phonePose{right:0;top:0}.touchHint{position:absolute;bottom:75px;left:12px;right:12px;text-align:center;font-size:9px;color:#715382;pointer-events:none;text-shadow:0 1px 4px white}.drawerClose{position:absolute;top:13px;right:15px;border:0;border-radius:18px;padding:9px 14px;background:#f2e7f8;color:#8c639e;font-size:12px;z-index:3}
@media(pointer:coarse){.phoneControls{display:block}.touchHint{display:block}.hint{display:none}.avatarActions{margin-left:auto}.worldbottom{bottom:20px}.viewtools{display:none}}
@media(max-width:720px),(pointer:coarse) and (max-width:1100px){html,body{height:100%;overscroll-behavior:none;overflow:hidden}header{height:calc(60px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0}.brand{font-size:19px}.brand b{font-size:6px}nav button{font-size:10px;padding:8px}nav #lookbook{font-size:0;padding:8px 11px}nav #lookbook:before{content:'♡';font-size:18px}nav #lookbook span{font-size:10px}main{padding:0;display:block;height:calc(100dvh - 60px - env(safe-area-inset-top));min-height:0;position:relative}.game{position:absolute;inset:0 0 calc(65px + env(safe-area-inset-bottom));height:auto;min-height:0;border:0;border-radius:0;transition:bottom .2s}.challenge{top:12px;padding:11px 13px;left:12px;right:12px;border-radius:14px}.challenge h1{font-size:20px}.challenge p{font-size:10px}.challenge small{font-size:8px}.challenge button{min-height:44px;font-size:15px}.worldtabs{top:113px}.worldtabs button{min-height:36px}.wardrobe{display:none;position:fixed;z-index:8;bottom:calc(64px + env(safe-area-inset-bottom));left:0;right:0;height:51dvh;border-radius:22px 22px 0 0;padding:16px 14px 10px;box-shadow:0 -8px 40px #38284c20;overflow-y:auto}.wardrobe-open .wardrobe{display:flex}.wardrobe-open .game{bottom:calc(51dvh + 64px + env(safe-area-inset-bottom))}.wardrobe-open .challenge{background:#ffffffc9;padding:7px 10px;top:7px}.wardrobe-open .challenge h1{font-size:16px;margin:2px 0}.wardrobe-open .challenge p,.wardrobe-open .challenge small,.wardrobe-open .worldtabs,.wardrobe-open .phoneControls,.wardrobe-open .worldbottom,.wardrobe-open .touchHint{display:none}.wardrobe-open .challenge button{min-height:32px;padding:6px;font-size:12px}.drawerClose{display:block}.wardhead{padding-right:75px}.wardhead h2{font-size:22px}.wardhead>span{font-size:9px;max-width:110px;text-align:center}.wardhead small{font-size:8px}.categories{display:flex;overflow-x:auto;flex-shrink:0;padding-bottom:4px}.categories button{min-width:64px;min-height:55px;font-size:10px}.searchrow{flex-shrink:0}.searchrow input{padding:12px 6px;font-size:13px}.searchrow button{min-width:48px}.inventory{min-height:170px;flex:1 0 185px;grid-template-columns:repeat(4,minmax(0,1fr))}.item{min-height:110px}.item .name{font-size:10px}.customize{flex-shrink:0}.swatches{gap:9px}.swatches button{width:29px;height:29px}.channelTabs button{font-size:12px;min-height:40px}.patterns button{min-height:36px;font-size:11px}.colorExtra input{min-height:38px;flex:1;width:100px}.colorExtra button{min-height:38px;font-size:11px}.fabricrow{font-size:11px}.fabricrow select{min-height:36px}.fabricrow input{height:30px;flex:1;min-width:50px}.customhead strong{font-size:12px}.customcolor{width:30px;height:30px}summary{min-height:40px;font-size:12px}.skin button{width:26px;height:26px}#skinSlider{height:16px;margin:15px 0 20px}#skinSlider::-webkit-slider-thumb{width:28px;height:28px}.bodyrow{font-size:12px}.bodyrow input{width:35px;height:30px}.mainactions{bottom:-10px;padding-top:10px;margin-bottom:0}.mainactions button{min-height:44px;font-size:12px}.phoneToolbar{display:flex;position:fixed;bottom:0;left:0;right:0;height:calc(65px + env(safe-area-inset-bottom));padding:9px max(14px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));gap:9px;z-index:10;background:#fff;border-top:1px solid #eee1f2}.phoneToolbar button{border-radius:14px;flex:1;font-size:12px;font-weight:600;min-height:44px}.phoneToolbar button b{font-size:18px;margin-right:4px}.phoneToolbar #wardrobeToggle[aria-expanded="true"]{background:#3b2a4e;color:white}.phoneControls,.touchHint{display:block}.viewtools,.worldbottom,.dpad,footer{display:none}#joystick{bottom:58px;left:max(20px,env(safe-area-inset-left));width:110px;height:110px}.phoneActions{bottom:56px;right:max(17px,env(safe-area-inset-right))}.touchHint{bottom:20px;font-size:9px}#toast{bottom:calc(80px + env(safe-area-inset-bottom));max-width:90%;width:max-content}dialog{max-height:85dvh;overflow:auto}}
@media(max-height:560px) and (orientation:landscape) and (pointer:coarse){header{height:48px}.brand b{display:none}main{height:calc(100dvh - 48px)}.game{bottom:0}.phoneToolbar{left:50%;right:auto;transform:translateX(-50%);width:340px;height:58px;padding:7px;border:1px solid #eee1f2;border-radius:17px 17px 0 0}.phoneToolbar button{font-size:10px}.challenge{max-width:340px}.challenge p{display:none}.worldtabs{top:90px}.wardrobe{top:48px;bottom:0;left:auto;width:360px;height:auto;border-radius:18px 0 0 18px}.wardrobe-open .game{right:360px;bottom:0}.wardrobe-open .phoneToolbar{left:calc((100% - 360px)/2);width:290px}.wardrobe-open .wardrobe{padding-bottom:65px}.wardrobe-open .challenge{right:10px}.inventory{grid-template-columns:repeat(3,minmax(0,1fr))}#joystick{bottom:25px}.phoneActions{bottom:25px}.touchHint{display:none}}
.textbutton{border:0;background:none;color:#a17db2;font-size:10px;padding:4px 6px}.customize{scroll-margin-top:14px}.item .name{overflow-wrap:anywhere}#colorShortcut{font-size:17px;min-width:42px}
