:root{--ink:#3b2a4a;--ink-soft:#6b5a7a;--paper:#fff8f1;--peach:#ffe4d2;--berry:#7d64c9;--berry-soft:#ece5ff;--sun:#ffd447;--focus:#ff4fa0;--radius:22px;--tap:72px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);font-family:ui-rounded,SF Pro Rounded,Nunito,Varela Round,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body{background:var(--peach);overscroll-behavior:none;height:100%;margin:0}body{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}button{font:inherit;color:inherit}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:focus-visible{outline:5px solid var(--focus);outline-offset:3px}#app{height:100vh;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);grid-template:"top""stage"minmax(0,1fr)"sheet""tray"/minmax(0,1fr);display:grid}.topbar{background:linear-gradient(#fff4ea,#ffe9db);border-bottom:3px solid #ffd2bd;grid-area:top;align-items:center;gap:8px;padding:8px 12px;display:flex;position:relative}.brand{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.brand-name{white-space:nowrap;text-overflow:ellipsis;font-size:1.15rem;font-weight:800;overflow:hidden}.top-actions{gap:8px;display:flex}.privacy-link{color:var(--berry);padding:2px 4px;font-size:.8rem;font-weight:700;position:absolute;bottom:2px;left:60px}.brand-name{margin-bottom:12px}.round{cursor:pointer;touch-action:manipulation;background:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:60px;height:60px;padding:0;transition:transform .12s;display:grid;box-shadow:0 4px #f2c9b4,0 6px 14px #3b2a4a1f}.round svg{width:38px;height:38px}.round.small{width:54px;height:54px}.round:active,.big-btn:active,.friend:active,.item:active,.tabs button:active{transform:scale(.92)}#muteBtn .snd-off,#muteBtn[aria-pressed=true] .snd-on{display:none}#muteBtn[aria-pressed=true] .snd-off{display:block}#stage{background:#ffe4d2;grid-area:stage;min-height:200px;position:relative;overflow:hidden}#stage>canvas{touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}#proxies{pointer-events:none;position:absolute;inset:0}#proxies button{pointer-events:none;opacity:1;background:0 0;border:0;border-radius:18px;margin:0;padding:0;position:absolute;top:0;left:0}#proxies button:focus-visible{outline:6px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 12px #ff4fa02e}.held-hint{color:var(--berry);pointer-events:none;background:#ffffffeb;border-radius:999px;align-items:center;gap:6px;padding:6px 16px 6px 8px;font-weight:800;animation:1.2s ease-in-out infinite bob;display:flex;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #3b2a4a26}.held-hint[hidden]{display:none}.held-hint svg{width:36px;height:36px}@keyframes bob{50%{transform:translate(-50%)translateY(4px)}}.tray{background:linear-gradient(#ffe9db,#ffd9c4);border-top:3px solid #ffd2bd;grid-area:tray;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.friends{gap:10px;display:flex}.friend,.big-btn{min-width:var(--tap);border-radius:var(--radius);cursor:pointer;touch-action:manipulation;background:#fff;border:4px solid #fff;flex-direction:column;justify-content:center;align-items:center;gap:0;height:84px;padding:4px 8px;font-size:.85rem;font-weight:800;transition:transform .12s;display:flex;box-shadow:0 5px #f2c9b4,0 8px 16px #3b2a4a1f}.friend img{object-fit:contain;pointer-events:none;width:58px;height:58px}.friend[aria-pressed=true]{background:#fff0f6;border-color:#ff7eb6}.friend .badge{color:var(--ink-soft);font-size:.7rem;font-weight:700}.friend.wave img{animation:.5s wiggle}@keyframes wiggle{30%{transform:rotate(-10deg)scale(1.08)}70%{transform:rotate(8deg)}}.big-btn{background:#fff7d6;flex-direction:row;gap:6px;padding:4px 16px;font-size:1.05rem}.big-btn svg{width:56px;height:56px}.big-btn[aria-expanded=true]{border-color:var(--sun)}.sheet{background:var(--paper);border-top:4px solid #ffd2bd;grid-area:sheet;max-height:46vh;padding:10px 12px 12px;animation:.22s ease-out rise;overflow-y:auto}.sheet[hidden]{display:none}@keyframes rise{0%{opacity:.4;transform:translateY(24px)}}.sheet-head{align-items:center;gap:10px;margin-bottom:8px;display:flex}.sheet-title{margin:0;font-size:1.1rem}.sheet-sub{color:var(--ink-soft);flex:1;margin:0;font-size:.85rem}.sheet-head .round{flex:none;margin-left:auto}.who-row{flex:1;gap:8px;display:flex}.who{cursor:pointer;background:#fff;border:4px solid #fff;border-radius:50%;width:64px;height:64px;padding:2px;box-shadow:0 3px #f2c9b4}.who img{object-fit:contain;pointer-events:none;width:100%;height:100%}.who[aria-pressed=true]{background:#fff0f6;border-color:#ff7eb6}.tabs{gap:8px;margin-bottom:10px;display:flex}.tabs button{background:var(--berry-soft);cursor:pointer;border:3px solid #0000;border-radius:18px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:64px;font-weight:800;transition:transform .12s;display:flex}.tabs button svg{width:40px;height:40px}.tabs button[aria-selected=true]{border-color:var(--berry);background:#fff}.item-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;display:grid}.item{cursor:pointer;min-height:104px;color:var(--ink-soft);background:#fff;border:4px solid #fff;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;padding:4px;font-size:.75rem;font-weight:700;transition:transform .12s;display:flex;position:relative;box-shadow:0 4px #ecdccf}.item img{object-fit:contain;pointer-events:none;width:76px;height:76px}.item[aria-pressed=true]{background:#f0fff2;border-color:#5cc46a}.item[aria-pressed=true]:after{content:"";background:#5cc46a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/22px no-repeat;border:3px solid #fff;border-radius:50%;width:30px;height:30px;position:absolute;top:-8px;right:-8px}.item.pop{animation:.35s pop}@keyframes pop{40%{transform:scale(1.12)}}.wardrobe-empty{text-align:center;color:var(--ink-soft);grid-column:1/-1;padding:10px;font-weight:700}.idea-list{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;display:grid}.idea{cursor:pointer;background:#fff;border:4px solid #fff;border-radius:20px;flex-direction:column;align-items:center;gap:4px;padding:8px;font-weight:800;display:flex;position:relative;box-shadow:0 4px #ecdccf}.idea svg{width:100%;max-width:150px;height:80px}.idea.done{background:#f0fff2;border-color:#5cc46a}.idea .tick{width:30px;height:30px;display:none;position:absolute;top:6px;right:8px}.idea.done .tick{display:block}.room-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.room-card{cursor:pointer;background:#fff;border:4px solid #fff;border-radius:22px;flex-direction:column;align-items:center;gap:4px;min-height:120px;padding:8px;font-size:1rem;font-weight:800;transition:transform .12s;display:flex;position:relative;box-shadow:0 4px #ecdccf}.room-card svg{border-radius:12px;width:100%;max-width:180px;height:auto}.room-card:active{transform:scale(.94)}.room-card[aria-current=true]{border-color:var(--berry);background:var(--berry-soft)}.room-friend{object-fit:contain;background:#fff;border:3px solid #ff7eb6;border-radius:50%;width:46px;height:46px;position:absolute;bottom:30px;right:6px}.room-here{background:var(--berry);border:3px solid #fff;border-radius:50%;width:26px;height:26px;position:absolute;top:8px;left:8px}#stage:after{content:"";background:var(--peach);opacity:0;pointer-events:none;transition:opacity .16s;position:absolute;inset:0}#stage.fading:after{opacity:1}.draw-sheet{z-index:5;background:#fff8f1;flex-direction:column;gap:8px;padding:10px;animation:.2s ease-out rise;display:flex;position:absolute;inset:0}.draw-sheet[hidden]{display:none}.draw-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.draw-colors{flex-wrap:wrap;gap:8px;display:flex}.swatch{background:var(--c);cursor:pointer;border:4px solid #fff;border-radius:50%;width:52px;height:52px;transition:transform .12s;box-shadow:0 3px #3b2a4a2e}.swatch[aria-checked=true]{box-shadow:0 0 0 4px var(--berry), 0 3px 0 #3b2a4a2e;transform:scale(1.12)}.draw-actions{gap:8px;display:flex}.draw-btn{cursor:pointer;background:#fff;border:3px solid #fff;border-radius:18px;place-items:center;width:60px;height:56px;display:grid;box-shadow:0 4px #ecdccf}.draw-btn svg{width:36px;height:36px}.draw-btn:disabled{opacity:.4;cursor:default}.draw-btn.done{background:#5cc46a}.draw-btn:active,.swatch:active{transform:scale(.92)}.draw-wrap{flex:1;place-items:center;min-height:0;display:grid}#drawCanvas{touch-action:none;cursor:crosshair;background:#fff;border-radius:16px;display:block;position:static;box-shadow:0 0 0 8px #c98f5a,0 10px 24px #3b2a4a33}@media (max-width:420px){.swatch{width:46px;height:46px}.draw-btn{width:54px;height:52px}.draw-sheet{padding:8px}}dialog{background:var(--paper);width:100%;max-width:min(440px,100vw - 24px);color:var(--ink);border:0;border-radius:28px;padding:0;box-shadow:0 20px 60px #3b2a4a59}dialog::backdrop{background:#3b2a4a73}.gate,.settings{flex-direction:column;gap:12px;padding:20px;display:flex}.gate h2,.settings h2{margin:0}.gate-q{margin:0;font-size:1.1rem;font-weight:700}.gate-out{text-align:center;letter-spacing:4px;background:#fff;border-radius:16px;min-height:52px;padding:4px;font-size:2rem;font-weight:800;display:block}.keypad{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.keypad button{cursor:pointer;background:#fff;border:0;border-radius:16px;min-height:56px;font-size:1.4rem;font-weight:800;box-shadow:0 3px #ecdccf}.keypad button.ok{background:var(--berry);color:#fff}.gate-msg{color:#b33;min-height:1.2em;margin:0;font-weight:700}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.pill{background:var(--berry);color:#fff;cursor:pointer;border:0;border-radius:999px;min-height:52px;padding:0 20px;font-weight:800}.pill.ghost{color:var(--berry);border:3px solid var(--berry);background:0 0}.pill.danger{background:#d9534f}.pill.confirm{background:#b02a26}.switch{align-items:center;gap:12px;min-height:48px;font-weight:700;display:flex}.switch input{width:28px;height:28px;accent-color:var(--berry)}.setting-row{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.setting-row small,.status{color:var(--ink-soft);margin:0;font-size:.9rem}.noscript{padding:20px;font-weight:700}@media (max-width:420px){.brand-name{font-size:1rem}.round svg{width:34px;height:34px}.friend{min-width:68px;height:80px;padding:2px 4px}.friend img{width:52px;height:52px}.big-btn{padding:4px 10px}.big-btn svg{width:46px;height:46px}.tabs button span{display:none}.item-grid{grid-template-columns:repeat(4,1fr);gap:6px}.item{border-width:3px;min-height:78px;font-size:0}.item img{width:60px;height:60px}.top-actions{gap:6px}.round{width:52px;height:52px}.room-card{min-height:100px}}@media (max-width:360px){.brand-name{display:none}.privacy-link{left:12px}.brand img{width:34px;height:34px}}@media (min-width:900px) and (min-aspect-ratio:1){#app{grid-template:"top top""stage sheet"minmax(0,1fr)"tray tray"/minmax(0,1fr) auto}.sheet{border-top:0;border-left:4px solid #ffd2bd;width:400px;max-height:none;animation-name:slide}@keyframes slide{0%{opacity:.4;transform:translate(24px)}}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.calm *,.calm :before,.calm :after{transition-duration:.01ms!important;animation-duration:.01ms!important}
