@font-face{font-family:Baloo;src:url('../assets/baloo-latin.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
:root{font-family:Baloo,'Trebuchet MS',sans-serif;color:#75207d;font-synthesis:none;--ink:#75207d;--berry:#bd168d;--pink:#ff4fb9;--lilac:#c784ed;--cream:#fff6fd;--panel:#f9d7fa;--outline:#b35bca}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100svh;background:#e6b4e8 url('../assets/game/illustrated/scenes/dressing-room.webp') center center/cover fixed no-repeat}button,a{-webkit-tap-highlight-color:transparent}button,a,dialog{font:inherit}button{color:inherit;cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:4px solid #6236ad;outline-offset:4px}button:active:not(:disabled),a.photo-button:active{transform:translateY(2px)}svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0!important}
.game-header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;max-width:1560px;height:145px;margin:auto;padding:23px 30px 0;z-index:3;pointer-events:none}.game-header>*{pointer-events:auto}.round-button{display:flex;align-items:center;justify-content:center;width:76px;height:76px;flex-shrink:0;border:3px solid #fff3fc;border-radius:50%;background:linear-gradient(165deg,#ffa6e0 2%,#ff61c7 28%,#eb299e 68%,#c51b93 100%);box-shadow:inset 0 0 0 3px #d02ba5,inset 3px 5px 2px #ffe0f7,0 4px 0 #8c247a,0 6px 10px #7d35804d;color:#fff;text-decoration:none;position:relative}.round-button:after{content:'';position:absolute;top:8px;left:14px;width:18px;height:5px;background:#ffebfa;border-radius:50%;transform:rotate(-28deg);pointer-events:none}.round-button>svg{width:44px;height:44px;filter:drop-shadow(0 2px 0 #8e167d);stroke-width:2.6}.home-button>svg{fill:#fff;stroke:#a41b91;stroke-width:1.6}.round-button:hover{filter:brightness(1.08)}.header-actions{display:flex;gap:13px;align-items:center}.motion-button{width:52px;height:52px;margin-top:12px}.motion-button>svg{width:26px;height:26px}.motion-button:after{left:11px;top:7px;width:11px;height:3px}.brand{position:absolute;top:4px;left:50%;transform:translateX(-50%) rotate(-3deg);text-align:center;isolation:isolate}.brand h1{position:relative;font-size:clamp(65px,7.5vw,112px);line-height:1.23;letter-spacing:-.035em;font-weight:800;margin:0;color:#fff5ff;-webkit-text-stroke:3px #e54dbb;paint-order:stroke fill;text-shadow:0 5px 0 #f38bcf,3px 0 #e126b5,-3px 0 #e126b5,0 -3px #e126b5,0 9px 0 #981492,6px 5px 0 #a71b9e,-6px 5px 0 #a71b9e,6px -5px 0 #a71b9e,-6px -5px 0 #a71b9e,0 12px 0 #fff,9px 7px 0 #fff,-9px 7px 0 #fff,9px -7px 0 #fff,-9px -7px 0 #fff,0 16px 10px #783f8880;white-space:nowrap}.brand-crown{position:absolute;left:7px;top:-5px;width:57px;height:48px;transform:rotate(-18deg);stroke:#9d247a;stroke-width:2;fill:#ffde65;z-index:1;filter:drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)}.brand-heart{position:absolute;color:#ff8edb;-webkit-text-stroke:2px #d42abb;paint-order:stroke fill;text-shadow:0 3px #9a158f,3px 0 #fff,-3px 0 #fff,0 -3px #fff,0 6px #fff;font-size:58px;line-height:1;z-index:-1}.heart-left{left:-36px;top:36px;transform:rotate(-20deg);font-size:43px}.heart-right{right:-48px;top:28px;transform:rotate(20deg)}.brand-subtitle{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.game-shell{max-width:1500px;margin:0 auto;padding:0 28px 16px}.dressing-room{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1fr);gap:14px;align-items:center}.stage-column{position:relative;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.stage-wrap{width:100%;height:min(760px,calc(100svh - 163px));min-height:560px;position:relative}.stage{position:relative;width:100%;height:100%;border-radius:34px;overflow:hidden;isolation:isolate;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}#scene{display:block;width:100%;height:100%}.stage-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;background:#f7d3eece;color:#822580;font-size:21px;text-align:center;padding:30px}.loader{width:38px;height:38px;border-radius:50%;border:4px solid #fff3fc;border-top-color:#ce299c;animation:spin 1.1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.drop-hint{position:absolute;bottom:36px;left:50%;transform:translate(-50%,12px);display:flex;align-items:center;gap:9px;white-space:nowrap;padding:9px 20px;background:#fff3fc;border:3px solid #ee66bc;border-radius:22px;font-size:22px;font-weight:700;color:#ae238b;opacity:0;transition:opacity .16s,transform .16s;box-shadow:0 4px 0 #be55b0}.stage[data-drop=true]{outline:5px solid #ff67c6;outline-offset:-8px}.stage[data-drop=true] .drop-hint{opacity:1;transform:translate(-50%,0)}.play-hint{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);white-space:nowrap;margin:0;padding:5px 15px;border-radius:15px;background:#fff2fae8;color:#8b2e81;font-size:13px;box-shadow:0 2px 4px #92468520}
.wardrobe-panel{position:relative;min-width:0;margin:18px 0 0;padding:56px 17px 15px;border:4px solid #fff7ff;border-radius:35px;background:linear-gradient(135deg,#e4a8f6 0%,#f5d0f9 24%,#fce1fa 60%,#e9c5fa 100%);box-shadow:inset 0 0 0 3px #d390ed,inset 0 0 14px 6px #fff5ff,0 4px 0 3px #b571d3,0 10px 16px #803b8d39;isolation:isolate}.wardrobe-panel:after{content:'';position:absolute;inset:8px;border:1px solid #fff8ff80;border-radius:26px;pointer-events:none;z-index:-1}.panel-heading{position:absolute;top:-30px;left:6%;right:6%;min-height:77px;display:flex;align-items:center;justify-content:space-around;gap:8px;padding:8px 16px;border:3px solid #fff5ff;border-radius:29px;background:linear-gradient(#ffb4ec,#ff8bdc 48%,#f263ce);box-shadow:inset 0 0 0 3px #eb70d7,inset 0 4px 4px #ffe9fa,0 4px 0 #c469cd;color:#ffeb91}.panel-heading h2{margin:0;font-size:clamp(25px,3.2vw,47px);line-height:1.12;text-transform:uppercase;text-align:center;white-space:nowrap;letter-spacing:-.02em;font-weight:800;color:#fff7ff;-webkit-text-stroke:1.8px #7f208c;paint-order:stroke fill;text-shadow:0 4px 0 #8e218d,2px 0 #8e218d,-2px 0 #8e218d}.panel-heading>span{font-size:32px;line-height:1;-webkit-text-stroke:1px #fff6da;filter:drop-shadow(0 2px 0 #d782bc);transform:rotate(-12deg)}.panel-heading>span:last-child{transform:rotate(12deg)}
.categories{display:flex;gap:7px;overflow-x:auto;padding:3px 2px 9px;scrollbar-width:thin;scrollbar-color:#cb88d7 #fceaff;overscroll-behavior-x:contain;scroll-snap-type:x proximity}.category-button{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 calc((100% - 35px)/6);min-width:64px;height:76px;padding:3px 2px;border:2px solid #d295e4;border-radius:14px;background:linear-gradient(#fff2ff,#f4d7fb);box-shadow:inset 0 2px 0 white,0 2px 0 #fff4fc;color:#832d97;font-size:10px;line-height:1.15;font-weight:600;scroll-snap-align:start}.category-button img{width:48px;height:48px;object-fit:contain;pointer-events:none}.category-button>svg{height:43px;width:38px;padding:3px}.category-button[aria-pressed=true]{border-color:#c928a6;background:linear-gradient(#ffade4,#ff66c6);box-shadow:inset 0 0 0 2px #ffeafa,0 2px 0 #fff6fd;color:#761775}.category-button:hover{filter:brightness(1.05)}.shelf-label{display:flex;align-items:center;gap:8px;min-height:30px;margin:1px 3px 5px}.shelf-label h3{margin:0;font-size:15px;font-weight:600}.selection-count{font-size:11px;color:#893c91;margin-left:auto;white-space:nowrap}.remove-button{min-height:44px;margin:-7px 0;padding:0 8px;display:flex;align-items:center;gap:2px;border-radius:10px;background:#fceafa;color:#852383;font-size:12px}.remove-button svg{width:17px;height:17px}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.item-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-width:0;height:clamp(126px,14.7vw,200px);padding:8px 6px 4px;overflow:hidden;border:2px solid #d68ee0;border-radius:20px;background:radial-gradient(ellipse at 50% 45%,#fff9ff 0%,#fff0fd 53%,#fbd5f5 100%);box-shadow:inset 0 0 0 2px #fff,0 2px 0 #fff5ff;transition:background .15s,border-color .15s,transform .15s;user-select:none;-webkit-user-select:none}.item-card:before{content:'';position:absolute;width:38px;height:6px;right:9px;top:9px;background:#fff;border-radius:50%;transform:rotate(34deg);opacity:.72}.item-card.draggable{touch-action:none}.item-card img{width:100%;height:calc(100% - 19px);object-fit:contain;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 5px 3px #b563a91a)}.item-card .item-name{width:100%;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:4px 0 0;font-weight:600;color:#813a85}.item-card:hover{border-color:#cc4cab;background:#fff2fc}.item-card[aria-pressed=true]{border-color:#e440aa;background:radial-gradient(ellipse at center,#fff5fd,#ffc4eb);box-shadow:inset 0 0 0 2px #fff,0 2px 0 #efa2d3}.selection-check{position:absolute;top:7px;right:7px;border:2px solid white;border-radius:50%;height:25px;width:25px;background:#e638a7;color:#fff;display:none;align-items:center;justify-content:center;box-shadow:0 2px 0 #ae288d}.selection-check svg{width:17px;height:17px;stroke-width:3}.item-card[aria-pressed=true] .selection-check{display:flex}.item-card[data-pending=true]:after{content:'';width:22px;height:22px;border-radius:50%;border:3px solid #e996d0;border-top-color:#b42494;animation:spin 1.1s ease-in-out infinite;position:absolute;right:8px;bottom:25px;background:#fff9}.item-card[data-pending=true] .selection-check{display:none}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 12px;margin:7px 0 6px}.page-arrow{display:flex;align-items:center;justify-content:center;width:52px;height:48px;background:transparent;color:#ec52b7;filter:drop-shadow(0 2px 0 #ad298e)}.page-arrow svg{width:41px;height:41px;stroke-width:4;stroke:#c22a9a;fill:#f97cca}.page-arrow:disabled{opacity:.3}.page-dots{display:flex;gap:6px;align-items:center;justify-content:center}.page-dot{width:25px;height:40px;display:flex;align-items:center;justify-content:center}.page-dot:after{content:'';height:17px;width:17px;display:block;border:3px solid #fff7ff;border-radius:50%;background:#dda0e6}.page-dot[aria-current=true]:after{height:25px;width:25px;background:#ff58b5}.wardrobe-bottom{display:flex;gap:11px;align-items:stretch}.palette-section{flex:1;min-width:0;padding:5px 4px;border:2px solid #e7a2df;border-radius:20px;background:#ffeffbd9;box-shadow:inset 0 2px 0 #fff}.palette{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:0}.color-button{width:100%;min-width:44px;height:49px;background:transparent;display:flex;align-items:center;justify-content:center;padding:5px;position:relative}.color-swatch{height:38px;width:38px;border-radius:50%;border:2px solid #fff;outline:1px solid #c082be;box-shadow:inset 2px 3px 4px #fff,0 2px 0 #ad69a94d;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;filter:drop-shadow(0 2px 0 #c287bc)}.color-button:after{content:'';position:absolute;top:9px;left:calc(50% - 12px);width:13px;height:5px;background:#fff9;border-radius:50%;transform:rotate(-32deg);pointer-events:none}.color-button[aria-pressed=true] .color-swatch{outline:3px solid #9c248e;outline-offset:2px}.color-swatch svg{width:17px;height:17px;stroke:#641c6e;stroke-width:3;filter:drop-shadow(0 1px 1px white)}
.mode-switch{display:flex;flex:0 0 30%;min-width:120px}.mode-button,.photo-button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;min-height:108px;width:100%;border:3px solid #fff5ff;border-radius:28px;background:linear-gradient(155deg,#ffb6e6 0%,#ff7bd5 23%,#f032b0 64%,#d5169a 100%);box-shadow:inset 0 0 0 3px #df38b1,inset 4px 5px 3px #ffe8f8,0 4px 0 #a44baf,0 6px 0 2px #eed4ff;color:#fff5ff;text-decoration:none;font-weight:800;text-transform:uppercase;font-size:clamp(24px,2.8vw,40px);line-height:1.15;padding:6px 10px;text-shadow:0 3px 0 #8d187e;-webkit-text-stroke:1.2px #9c1587;paint-order:stroke fill}.mode-button>svg,.photo-button>svg{height:49px;width:55px;fill:#fff1ff;stroke:#9d1990;stroke-width:2.1;filter:drop-shadow(0 2px 0 #fff)}.mode-button:hover,.photo-button:hover{filter:brightness(1.06)}#wardrobe-mode{display:none}.game-shell[data-mode=studio] #wardrobe-mode{display:flex;font-size:20px}.game-shell[data-mode=studio] #studio-mode{display:none}.game-shell[data-mode=studio] .mode-switch{flex-basis:34%}.game-shell[data-mode=studio] .photo-button{flex:1;min-height:95px;font-size:32px}.game-shell[data-mode=studio] .wardrobe-bottom{margin-top:8px}.panel-footnote{display:none}.studio-tabs{display:flex;gap:8px;margin:3px 0 12px}.studio-tabs button{flex:1;min-height:62px;background:linear-gradient(#fff0ff,#efc5fb);border:2px solid #ce85df;border-radius:15px;display:flex;justify-content:center;align-items:center;gap:9px;color:#852990;font-size:21px}.studio-tabs button[aria-pressed=true]{background:linear-gradient(#ffa6e3,#f76dce);border-color:#c84ab3;box-shadow:inset 0 0 0 2px #fff4ff;color:#742174}.feedback-bar{display:flex;justify-content:center;align-items:center;gap:10px;min-height:30px;margin:10px 0 0;color:#73256f;font-size:13px;text-align:center}.feedback-bar p{margin:0;padding:2px 13px;border-radius:12px;background:#fff1fce8}.feedback-bar[data-error=true] p{color:#9b244f;background:#fff4f8}.feedback-bar button{min-height:44px;background:#ffdae5;padding:0 16px;border-radius:15px;font-weight:700;color:#982b60}
.drag-ghost{position:fixed;left:0;top:0;width:110px;height:125px;background:#fff0fced;border:3px solid #ef7dcc;border-radius:18px;box-shadow:0 9px 18px #7d2c8a38;pointer-events:none;z-index:20;padding:7px;will-change:transform;display:flex;justify-content:center;align-items:center;opacity:.95}.drag-ghost img{height:100%;width:100%;object-fit:contain}.dragging .item-card{cursor:grabbing}.photo-dialog{border:4px solid #fff5ff;border-radius:30px;background:linear-gradient(#f5ccfa,#ffecfa);color:var(--ink);max-width:440px;width:calc(100% - 32px);padding:24px 28px 20px;text-align:center;max-height:94svh;overflow:auto;box-shadow:0 16px 70px #6f287b66}.photo-dialog::backdrop{background:#682374a6;backdrop-filter:blur(5px)}.close-photo{position:absolute;right:10px;top:10px;width:48px;height:48px}.close-photo svg{height:23px;width:23px}.close-photo:after{display:none}.photo-dialog h2{font-size:32px;line-height:1.2;margin:7px 30px 0;letter-spacing:-.02em}.photo-dialog>p{font-size:15px;color:#91458b;margin:7px 0 18px}.photo-print{padding:11px 11px 0;background:#fff9fe;box-shadow:0 5px 12px #783b8a29;transform:rotate(-2deg);width:82%;margin:auto}.photo-print img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f4cdea}.photo-print>span{display:block;padding:5px 0 8px;font-size:23px;color:#c6339d;font-weight:700}.photo-dialog .photo-button{flex-direction:row;min-height:60px;font-size:23px;gap:10px;margin-top:24px;padding:7px 16px;width:100%;border-radius:20px;text-transform:none}.photo-dialog .photo-button svg{height:30px;width:30px;fill:none;stroke:#fff}.photo-dialog .save-hint{font-size:11px;line-height:1.4;margin:15px 0 0}.noscript-message{position:fixed;inset:40% 5% auto;padding:30px;background:#fff1fc;border:3px solid #c32c98;border-radius:24px;text-align:center;font-size:22px;z-index:30}
@media(min-width:1100px) and (max-height:850px){.game-header{height:116px;padding-top:18px}.brand h1{font-size:88px}.brand-crown{width:48px;height:40px;left:4px;top:-3px}.heart-right{font-size:49px;right:-41px;top:24px}.heart-left{font-size:36px;left:-30px;top:28px}.round-button{width:66px;height:66px}.round-button>svg{width:37px;height:37px}.motion-button{width:48px;height:48px;margin-top:8px}.motion-button>svg{width:25px;height:25px}.stage-wrap{height:calc(100svh - 142px);min-height:515px}.wardrobe-panel{padding-top:47px;margin-top:12px}.panel-heading{min-height:66px;top:-26px}.panel-heading h2{font-size:38px}.category-button{height:62px}.category-button img{height:38px;width:42px}.category-button>svg{height:36px}.cards{gap:8px}.item-card{height:clamp(125px,19svh,160px)}.pagination{margin:3px 0 3px}.color-button{height:44px;padding:4px}.color-swatch{width:34px;height:34px}.mode-button{min-height:96px}.feedback-bar{margin-top:7px}}
@media(max-width:1099px) and (min-width:701px){.game-header{height:125px;padding:18px 22px 0}.brand h1{font-size:78px}.brand-crown{width:45px;height:38px;top:-4px}.heart-left{font-size:34px;left:-30px;top:25px}.heart-right{font-size:43px;right:-37px;top:23px}.round-button{width:58px;height:58px}.round-button>svg{width:32px;height:32px}.header-actions{gap:8px}.motion-button{width:46px;height:46px;margin-top:6px}.motion-button>svg{width:23px;height:23px}.game-shell{padding:0 19px 12px}.dressing-room{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:8px}.wardrobe-panel{padding:45px 11px 12px;border-radius:28px}.panel-heading{left:5%;right:5%;top:-27px;min-height:65px;padding:8px}.panel-heading h2{font-size:30px}.panel-heading>span{font-size:24px}.category-button{min-width:57px;height:64px;font-size:9px}.category-button img{height:38px;width:40px}.categories{gap:5px}.stage-wrap{height:630px;min-height:0}.item-card{height:133px;border-radius:15px;padding:6px 4px 4px}.item-card .item-name{font-size:10px}.cards{gap:7px}.palette{grid-template-columns:repeat(4,minmax(44px,1fr))}.palette-section{padding:2px}.color-button{height:44px;min-width:38px;padding:5px}.color-swatch{height:30px;width:30px}.wardrobe-bottom{gap:7px;flex-wrap:wrap}.mode-switch{min-width:103px;flex-basis:30%}.mode-button{font-size:27px;min-height:104px;border-radius:22px}.mode-button>svg{width:45px;height:43px}.play-hint{font-size:11px;bottom:6px;padding:4px 10px}.pagination{padding:0 4px;margin:5px 0}.page-dots{gap:2px}.page-dot{width:21px}.shelf-label{min-height:26px}.shelf-label h3{font-size:14px}.selection-count{font-size:10px}.studio-tabs button{min-height:55px;font-size:18px}}
@media(max-width:900px) and (min-width:701px){.palette{grid-template-columns:repeat(6,minmax(44px,1fr))}.palette-section{flex-basis:100%}.mode-switch{flex-basis:100%;min-height:48px}.mode-button{min-height:52px;flex-direction:row;gap:9px;font-size:25px}.mode-button>svg{width:35px;height:35px}.game-shell[data-mode=studio] .mode-switch{flex-basis:35%}.game-shell[data-mode=studio] .photo-button{min-height:62px;font-size:26px;flex-direction:row;gap:8px}.game-shell[data-mode=studio] .photo-button>svg{width:35px;height:35px}.stage-wrap{height:685px}.brand h1{font-size:68px}.brand-crown{width:40px;height:34px}.game-header{height:110px}}
@media(max-width:700px){body{background-position:35% top;background-size:auto 100svh}.game-header{height:88px;padding:13px 13px 0}.round-button{width:49px;height:49px;border-width:2px;box-shadow:inset 0 0 0 2px #d02ba5,inset 2px 4px 2px #ffe0f7,0 3px 0 #8c247a,0 4px 6px #7d35804d}.round-button>svg{width:29px;height:29px}.round-button:after{top:6px;left:10px;width:12px;height:3px}.header-actions{gap:6px}.motion-button{width:44px;height:44px;margin-top:2px}.motion-button>svg{width:22px;height:22px}.brand{top:7px;left:47%}.brand h1{font-size:clamp(39px,10vw,65px);-webkit-text-stroke:1.5px #e54dbb;text-shadow:0 3px 0 #f38bcf,2px 0 #e126b5,-2px 0 #e126b5,0 6px 0 #981492,4px 3px 0 #a71b9e,-4px 3px 0 #a71b9e,4px -3px 0 #a71b9e,-4px -3px 0 #a71b9e,0 8px 0 #fff,6px 5px 0 #fff,-6px 5px 0 #fff,6px -5px 0 #fff,-6px -5px 0 #fff}.brand-crown{left:4px;top:-4px;width:29px;height:24px}.brand-heart{display:none}.game-shell{padding:0 12px 12px}.dressing-room{grid-template-columns:1fr;gap:15px}.stage-column{position:sticky;top:-9px;z-index:2;align-self:start;display:block;height:307px;background:url('../assets/game/illustrated/scenes/dressing-room.webp') 35% center/cover;border-radius:24px;box-shadow:0 6px 7px #d597ce3d}.stage-wrap{width:100%;height:302px;min-height:0}.stage{max-width:310px;margin:auto;border-radius:20px;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}.play-hint{bottom:1px;font-size:10px;padding:2px 11px;line-height:1.4;z-index:1}.stage-loading{font-size:17px;gap:12px}.drop-hint{bottom:20px;font-size:16px;padding:5px 12px}.drop-hint>svg{width:23px;height:23px}.wardrobe-panel{margin-top:13px;padding:36px 10px 10px;border-width:3px;border-radius:23px;box-shadow:inset 0 0 0 2px #d390ed,inset 0 0 10px 4px #fff5ff,0 3px 0 2px #b571d3,0 7px 12px #803b8d26}.wardrobe-panel:after{inset:5px;border-radius:18px}.panel-heading{top:-22px;left:7%;right:7%;min-height:49px;border-width:2px;border-radius:18px;padding:5px 11px;box-shadow:inset 0 0 0 2px #eb70d7,inset 0 3px 3px #ffe9fa,0 3px 0 #c469cd}.panel-heading h2{font-size:28px;-webkit-text-stroke:1.3px #7f208c;text-shadow:0 3px 0 #8e218d}.panel-heading>span{font-size:22px}.categories{gap:5px;padding:2px 1px 6px}.category-button{flex-basis:calc((100% - 25px)/6);min-width:48px;height:57px;border-radius:10px;padding:2px 1px;font-size:8px}.category-button img{width:33px;height:34px}.category-button>svg{height:33px;width:29px;padding:3px}.shelf-label{min-height:24px;margin:1px 2px 5px}.shelf-label h3{font-size:13px}.selection-count{font-size:10px}.remove-button{font-size:11px;min-height:44px;margin:-10px 0;padding:0 6px}.cards{gap:7px}.item-card{height:105px;border-radius:13px;padding:5px 4px 3px}.item-card img{height:calc(100% - 16px)}.item-card .item-name{font-size:9px;padding-top:2px;line-height:1.4}.item-card:before{width:22px;height:4px;top:7px;right:6px}.selection-check{width:20px;height:20px;top:5px;right:5px;border-width:1px}.selection-check svg{width:14px;height:14px}.item-card[data-pending=true]:after{width:18px;height:18px;bottom:20px;right:5px}.pagination{padding:0 4px;gap:9px;margin:3px 0}.page-arrow{width:44px;height:44px}.page-arrow svg{width:33px;height:33px}.page-dots{gap:3px}.page-dot{width:21px;height:40px}.page-dot:after{height:13px;width:13px;border-width:2px}.page-dot[aria-current=true]:after{height:20px;width:20px;background:#ff58b5}.wardrobe-bottom{gap:7px}.palette-section{padding:2px;border-radius:14px}.palette{grid-template-columns:repeat(6,minmax(32px,1fr));gap:0}.color-button{height:44px;min-width:32px;padding:5px 3px}.color-swatch{width:27px;height:27px;border-width:2px}.color-button:after{width:9px;height:3px;top:12px;left:calc(50% - 8px)}.color-button[aria-pressed=true] .color-swatch{outline-width:2px;outline-offset:1px}.mode-switch{min-width:88px;flex-basis:27%}.mode-button,.photo-button{min-height:92px;border-width:2px;border-radius:19px;font-size:25px;padding:6px 5px;-webkit-text-stroke:.8px #9c1587;box-shadow:inset 0 0 0 2px #df38b1,inset 3px 4px 3px #ffe8f8,0 3px 0 #a44baf,0 4px 0 1px #eed4ff}.mode-button>svg,.photo-button>svg{width:37px;height:37px}.game-shell[data-mode=studio] .mode-switch{flex-basis:35%}.game-shell[data-mode=studio] #wardrobe-mode{font-size:18px;flex-direction:row;gap:5px}.game-shell[data-mode=studio] .photo-button{flex-direction:row;gap:7px;min-height:57px;font-size:27px}.studio-tabs{gap:7px;margin:1px 0 8px}.studio-tabs button{min-height:49px;font-size:17px;border-radius:12px;gap:7px}.studio-tabs svg{width:24px;height:24px}.feedback-bar{font-size:11px;min-height:25px;margin-top:12px}.wardrobe-panel :is(button,select){scroll-margin-top:322px;scroll-margin-bottom:15px}.photo-dialog{padding-left:20px;padding-right:20px}.photo-dialog h2{font-size:29px}.photo-dialog .photo-button{font-size:22px}.photo-dialog .photo-button svg{width:27px;height:27px}}
@media(max-width:390px){.game-header{padding-left:9px;padding-right:9px;height:78px}.brand{left:46%;top:13px}.brand h1{font-size:38px}.brand-crown{width:25px;height:21px;top:-4px}.header-actions{gap:4px}.round-button{width:44px;height:44px}.round-button>svg{width:26px;height:26px}.motion-button{width:44px;height:44px;margin:0}.motion-button>svg{width:22px;height:22px}.game-shell{padding-left:9px;padding-right:9px}.stage-column{height:280px}.stage-wrap{height:276px}.stage{max-width:280px}.panel-heading h2{font-size:25px}.wardrobe-panel{padding-left:8px;padding-right:8px}.item-card{height:96px}.palette{grid-template-columns:repeat(4,minmax(34px,1fr))}.mode-switch{flex-basis:32%}.category-button{min-width:47px}.wardrobe-panel :is(button,select){scroll-margin-top:295px}}
@media(min-width:701px) and (max-height:500px){.game-header{height:86px;padding-top:10px}.brand h1{font-size:63px}.brand-crown{width:36px;height:30px;top:-2px}.brand-heart{display:none}.stage-column{position:sticky;top:8px;align-self:start}.stage-wrap{height:340px;min-height:0}.play-hint{display:none}.wardrobe-panel{margin-top:15px}.game-shell{padding-bottom:12px}}
body[data-reduced-motion=true] *,body[data-reduced-motion=true] *:before,body[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){body:not([data-reduced-motion=false]) *,body:not([data-reduced-motion=false]) *:before,body:not([data-reduced-motion=false]) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the whole wardrobe in the first desktop view and colors comfortably tappable on phones. */
@media(min-width:1100px) and (min-height:851px){.wardrobe-panel{margin-top:12px}.item-card{height:180px}}
@media(max-width:700px){.wardrobe-bottom{flex-wrap:wrap}.palette-section{flex:1 1 calc(100% - 105px)}.palette{grid-template-columns:repeat(4,minmax(44px,1fr))}.color-button{min-width:44px}.mode-switch{flex-basis:96px}}
@media(max-width:365px){.palette-section{flex-basis:100%}.palette{grid-template-columns:repeat(6,minmax(44px,1fr))}.mode-switch{flex-basis:100%}.mode-button{min-height:48px;flex-direction:row;gap:7px}.mode-button>svg{width:31px;height:31px}}


/* Reserve clear space for both header actions on the narrowest phones. */
@media(max-width:365px){.brand{left:42%;top:16px}.brand h1{font-size:30px}.brand-crown{width:21px;height:18px;top:-3px}}
.category-navigation{display:flex;align-items:center;gap:4px;min-width:0}.category-navigation .categories{flex:1;min-width:0}.category-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;min-height:48px;margin-bottom:7px;padding:6px;border:2px solid #d295e4;border-radius:14px;background:linear-gradient(#fff2ff,#f4d7fb);box-shadow:inset 0 2px 0 white,0 2px 0 #fff4fc;color:#bd2ca4}.category-arrow svg{width:30px;height:30px;stroke-width:4}.category-arrow:hover:not(:disabled){background:linear-gradient(#ffade4,#ff66c6)}.category-arrow:disabled{opacity:.35}.category-navigation[hidden]{display:none}
.categories:focus-within{scroll-snap-type:none}
/* Every control stays large enough for small hands at all viewport sizes. */
.round-button,.category-button,.color-button,.page-arrow,.remove-button,.feedback-bar button{min-width:48px;min-height:48px}
.remove-button{margin:0}
.palette{grid-template-columns:repeat(6,minmax(48px,1fr))}
@media(max-width:1099px){.palette{grid-template-columns:repeat(4,minmax(48px,1fr))}}
@media(max-width:700px){.palette-section{flex-basis:calc(100% - 105px)}}
@media(max-width:365px){.palette-section{flex-basis:100%}.brand{top:18px}.brand h1{font-size:27px}}
@media(max-width:365px){.game-shell[data-mode=studio] .panel-heading h2{font-size:18px}.game-shell[data-mode=studio] .mode-switch,.game-shell[data-mode=studio] .photo-button{flex-basis:100%}}

.games-link{display:block;width:max-content;max-width:100%;margin:12px auto 0;padding:8px 18px;border:2px solid #bd83d1;border-radius:24px;background:#fff6fa;color:#652b79;text-decoration:none;min-height:48px;text-align:center}
.item-card.draggable{cursor:grab;-webkit-touch-callout:none}
.item-card[data-dragging=true] img{opacity:.3}
.drag-ghost{width:clamp(100px,14vw,180px);height:clamp(110px,16vw,200px);padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 6px 4px #75345b55)}
.dragging{user-select:none;-webkit-user-select:none;cursor:grabbing}
.dragging .drop-hint{opacity:1;transform:translate(-50%,0)}
@media(max-width:700px){.motion-button{display:flex;width:48px;height:48px}}

.look-preview { position:absolute; inset:0; width:100%; height:100%; opacity:0; pointer-events:none; }
.live-eyes { position:absolute; pointer-events:none; }
.color-button { touch-action:none; cursor:grab; }
.drag-ghost .color-swatch { width:50px; height:50px; }
.dress-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:12px; }
.dress-tools .games-link { margin:0; }
@media(max-width:365px) {
  .dress-tools .games-link { padding-inline:12px; }
  .dress-tools .games-brand { display:none; }
}
.dress-tool { display:grid; place-items:center; width:48px; height:48px; border:2px solid #bd83d1; border-radius:50%; background:#fff6fa; color:#652b79; font:700 1.3rem Baloo,sans-serif; cursor:pointer; }
.dress-tool svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
