.clawd-world-tools[hidden],.clawd-world-options[hidden]{display:none!important}
.clawd-world-tools{position:absolute;top:12px;left:-62px;width:40px;display:grid;gap:4px;z-index:12}
html[data-theme] .clawd-world-tools button{display:grid;place-items:center;gap:1px;width:40px;height:40px;min-height:40px;padding:3px 1px;border:1px solid #ffffffc9;border-radius:12px;background:linear-gradient(145deg,#fffdfce8,#f0e7f0d9);box-shadow:inset 0 1px 0 #fff,0 3px 10px #947a9814;color:var(--accent,#947a98);font:10px/1.1 var(--font-ui,system-ui);cursor:pointer}
.clawd-world-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}
html[data-theme] .clawd-world-tools button[aria-expanded="true"]{background:#e9ddec;border-color:#bca3c5}
.clawd-world-options{position:absolute;top:18px;left:8px;right:8px;max-height:calc(100% - 80px);overflow-y:auto;overscroll-behavior:contain;z-index:14;padding:8px 10px 12px;border:1px solid #fff;border-radius:15px;background:#fffaf7f5;box-shadow:0 6px 24px #3829412b;color:var(--ink,#6d5c70);scrollbar-width:thin}
.clawd-world-options header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;font:13px var(--font-ui,system-ui)}
html[data-theme] .clawd-world-options [data-world-close]{width:28px;height:28px;min-height:28px;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font-size:20px}
.clawd-option-choices{display:flex;flex-wrap:wrap;gap:6px}
html[data-theme] .clawd-option-choices button{min-height:32px;padding:5px 9px;border:1px solid #dbcddd;border-radius:9px;background:#f8f1f5;color:inherit;box-shadow:none;font:11px/1.4 var(--font-ui,system-ui);white-space:nowrap}
html[data-theme] .clawd-option-choices button[aria-pressed="true"]{border-color:#aa89b0;background:#e7d7e9;color:#6e4f79}
.clawd-world-options h3{margin:10px 0 6px;font:12px var(--font-ui,system-ui)}
.clawd-action-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(56px,1fr));grid-auto-rows:54px;gap:5px;max-height:113px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}
.clawd-world-options:has(.clawd-action-gallery) header{position:sticky;top:-8px;z-index:1;padding:5px 0;background:#fffaf7}
html[data-theme] .clawd-action-gallery button{display:grid;place-items:center;min-width:0;height:54px;min-height:54px;box-sizing:border-box;padding:2px;border:1px solid #e4d7e5;border-radius:10px;background:#f8f1f5;color:inherit;box-shadow:none}
html[data-theme] .clawd-action-gallery button[aria-pressed="true"]{background:#e9dceb;border-color:#aa89b0}
.clawd-action-sample{display:grid;place-items:center;width:52px;height:48px;overflow:hidden;pointer-events:none}
.clawd-action-sample>.composer-clawd-sprite{width:52px;height:48px;transform:none!important;animation:none!important}
.clawd-action-sample .clawd-pose{display:inline!important}
.clawd-action-sample .clawd-basket-prop{display:inline;transform:none}
.clawd-action-sample[data-preview-action="basket"] .clawd-basket-prop{animation:clawd-gallery-basket 2s steps(4,end) infinite}
.clawd-action-sample[data-preview-action="stretch"]>.composer-clawd-sprite{animation:clawd-stretch 2s ease-in-out infinite!important}
.clawd-action-sample[data-preview-action="hop"]>.composer-clawd-sprite{animation:composer-clawd-hop 1.5s ease-in-out infinite!important}
.clawd-action-sample[data-preview-action="sleep"]>.composer-clawd-sprite{animation:clawd-sleep-breathe 3s steps(2,end) infinite!important}
@keyframes clawd-gallery-basket{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.clawd-action-sample *{animation:none!important}}
.clawd-weather-wrap{position:absolute;inset:12px 0 44px;pointer-events:none;overflow:hidden;opacity:0}
.clawd-expanded .clawd-weather-wrap{opacity:1}
.clawd-weather{position:absolute;inset:0 0 24%;overflow:hidden}
[data-world-background="room"] .clawd-weather{left:7.8%;top:14.5%;width:43.8%;height:49%;right:auto;bottom:auto}
.clawd-weather-clouds,.clawd-weather-particles{position:absolute;inset:0;width:100%;height:100%;opacity:0}
[data-world-weather="cloudy"] .clawd-weather-clouds{opacity:.65}
.clawd-weather-particles i{position:absolute;display:block;width:2px;height:8px;background:#cbdfea;opacity:.75;animation:clawd-weather-fall 3s linear infinite}
[data-world-weather="rain"] .clawd-weather-particles,[data-world-weather="snow"] .clawd-weather-particles{opacity:1}
[data-world-weather="snow"] .clawd-weather-particles i{width:3px;height:3px;background:#fff4e6;animation-name:clawd-weather-snow}
[data-world-background="garden"] .composer-clawd-ground{background:linear-gradient(#ede4d9,#fffaf5)}
[data-world-background="night"] .composer-clawd-ground{background:linear-gradient(#777184,#eee6f0)}
.composer-clawd:not(.clawd-expanded) .clawd-weather-particles i,.clawd-paused .clawd-weather-particles i{animation-play-state:paused}
@keyframes clawd-weather-fall{from{transform:translate(0,-120px)}to{transform:translate(-12px,120px)}}
@keyframes clawd-weather-snow{0%{transform:translate(-3px,-120px)}50%{transform:translate(5px,0)}100%{transform:translate(-3px,120px)}}
