.toy{height:100dvh;overflow:hidden;position:relative}.toy canvas{width:100%;height:100%;display:block;touch-action:none}.toy header{position:absolute;top:16px;left:18px;right:18px;display:flex;align-items:center;gap:12px;pointer-events:none}.toy header>*{pointer-events:auto;background:var(--paper);padding:10px 12px;border-radius:12px;border:0}.toy header a{font-size:11px;text-decoration:none;color:var(--ink);letter-spacing:1px}.toy header span{font-size:11px;margin-left:auto}.toy button{border-radius:10px;min-height:48px}.floating,.home{position:absolute;right:18px;background:var(--paper);border:0;width:48px}.floating{top:80px}.home{bottom:24px}.welcome,.hud{position:absolute;left:24px;bottom:24px;width:360px;background:var(--paper);border:1px solid #fff5;border-radius:20px;padding:18px;box-shadow:0 8px 28px #35453415}.welcome h1{font-size:43px;margin:14px 0}.welcome p{font-size:16px}.welcome>button{width:100%;margin-bottom:8px}.welcome small{display:block;font-size:11px;color:var(--quiet)}.hud-top{display:flex;justify-content:space-between;align-items:center;min-height:28px}.hud-top span{font-size:11px;letter-spacing:.8px}.hud-top button{border:0;padding:4px 10px;min-height:36px}.hud p{font-size:14px;margin:4px 0 12px}.palette{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.palette button{display:flex;align-items:center;flex-direction:column;gap:8px;background:#e3ddcc;border:0;min-height:74px;font-size:13px}.shape{display:block;background:#c79968;border:1px solid #97724c;transform:skewY(-10deg);box-shadow:4px 3px #a67e52}.shape.block{width:28px;height:20px}.shape.sheet{width:34px;height:5px;margin:8px 0 7px}.shape.post{width:7px;height:28px;margin:-4px 0}.row,#actions,#placement{display:flex;gap:5px}.row{margin-top:5px}.row button,#actions button,#placement button{flex:1;padding:6px;font-size:12px;background:#e3ddcc;border:0}.hud>.text-action{font-size:12px;min-height:36px;padding:6px 0;margin-top:4px}.toy dialog{border-radius:18px}.toy dialog h2{font-size:28px}.toy input{width:100%;padding:12px;border:1px solid var(--rule);background:var(--surface);font-size:16px;min-height:48px;margin-bottom:14px}.toy textarea{margin-bottom:10px}.idea-row{display:block;width:100%;text-align:left;margin:8px 0;background:var(--surface)}.idea-row strong,.idea-row small{display:block}.idea-row small{font-size:12px;color:var(--quiet)}#comments p{padding:10px;border-left:2px solid var(--coral);font-size:14px}.busy #hud button{pointer-events:none;opacity:.6}
@media(max-width:620px){.toy header{top:12px;left:12px;right:12px;gap:6px;flex-wrap:wrap}.toy header span{order:3;flex-basis:100%;padding:4px 10px;background:transparent;font-size:10px}.toy header button{margin-left:auto;font-size:12px}.welcome,.hud{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;padding:14px;border-radius:18px}.welcome h1{font-size:36px}.home{bottom:230px;right:12px}.floating{top:90px;right:12px}.hud p{font-size:13px}.hud #actions button{min-height:52px}.hud .row button{min-height:44px}.hud>.text-action{margin-top:2px}.toy dialog{max-height:85dvh;overflow:auto}}

.palette{grid-template-columns:1fr}.palette button{flex-direction:row;justify-content:center;min-height:58px}.size-row{display:flex;align-items:center;gap:8px;margin:5px 0}.size-row span{flex:1;font-size:14px}.size-row button{width:64px;font-size:23px;background:#e3ddcc;border:0}.hud:has(#transform:not([hidden])) #feedback{display:none}
#buildReplay{min-height:44px;border:0;padding:6px 10px;font-size:12px;margin-left:auto}#buildMute{font-size:12px;min-height:48px}

.piece-extras summary{padding:12px 0;font-size:12px;cursor:pointer;min-height:44px}.size-done{width:100%;background:var(--coral);color:white;border:0}

.size-simple{display:flex;gap:8px;margin:10px 0}.size-simple button{flex:1;min-height:64px;background:#e3ddcc;border:0;font-size:16px}

.object-size{position:absolute;z-index:3;display:flex;flex-direction:column;gap:6px;pointer-events:none}.object-size button{width:52px;height:52px;min-height:52px;border:1px solid #fff8;background:var(--paper);color:var(--ink);font-size:28px;box-shadow:0 3px 14px #35453425;pointer-events:auto}.object-size button:first-child{background:var(--coral);color:white}

.toy .block-name{position:absolute;z-index:4;width:190px;min-height:44px;margin:0;text-align:center;transform:translateX(-50%);border:1px solid #9c4f3b88;border-radius:12px;background:var(--paper);font-weight:600;padding:8px}.build-labels span{position:absolute;z-index:2;transform:translateX(-50%);background:var(--paper);padding:8px 12px;border-radius:10px;max-width:190px;overflow-wrap:anywhere;font-size:16px;pointer-events:none}.busy .object-size{pointer-events:none}.busy .object-size button{pointer-events:none}

.intent-form label{font-size:12px;display:block;margin:8px 0}.intent-row{display:flex;gap:5px}.toy .intent-row input{min-width:0;flex:1;margin:0;border-radius:10px}.intent-row button{width:46px;flex:none;padding:4px;background:var(--coral);color:white;border:0}#intentReview{display:flex;align-items:center;gap:8px;margin:12px 0}#intentReview span{flex:1;font-weight:600}#intentReview button{padding:8px;border:0}.intent-form{margin-bottom:10px}

.street-entry{position:absolute;top:84px;left:18px;z-index:4;min-height:48px;background:var(--paper);border:0}.spoken-street{position:absolute;top:90px;left:12px;z-index:5;max-width:calc(100% - 24px)}.spoken-street button{background:var(--paper);min-height:44px;font-size:12px;padding:8px;border:0}.spoken-street p{max-width:280px;padding:10px;background:var(--paper);font-size:12px}.spoken-street #phoneMotion{display:none}.spoken-street:has(#streetHelp[aria-expanded="true"]) #phoneMotion{display:inline-block}.street-aim{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;color:var(--coral);font-size:32px;pointer-events:none;text-shadow:0 0 3px white}.spoken-walk #enterStreet,.spoken-walk #objectSize,.spoken-walk #blockName,.spoken-walk #palette,.spoken-walk #actions,.spoken-walk #browse,.spoken-walk #home{display:none!important}.spoken-walk .hud{padding:12px}.spoken-walk .hud #feedback{margin:4px 0;font-size:13px}.spoken-walk .intent-form{margin-bottom:0}.spoken-walk #finish{display:none}.spoken-walk .intent-row button{min-height:52px}.spoken-walk .intent-row input{font-size:14px}

#streetTarget{display:block;position:absolute;left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;background:var(--paper);padding:4px 8px;border-radius:8px;text-shadow:none;color:var(--ink)}

.hud .voice-status:empty{display:none}.hud .voice-status{font-size:12px;margin:6px 0;color:var(--quiet)}.hud .voice-status[data-state="error"]{color:var(--coral)}

#intentMic[aria-pressed="true"],#reviewMic[aria-pressed="true"]{background:var(--coral);color:white}

.idea-cooking{position:absolute;z-index:6;transform:translate(-50%,-50%);width:170px;text-align:center;color:var(--ink);background:#eee2caed;border:1px solid #bc6c5255;border-radius:28px;padding:14px 12px 8px;box-shadow:0 12px 30px #33494322;backdrop-filter:blur(8px)}
.idea-cooking strong,.idea-cooking small{display:block}.idea-cooking strong{font-size:15px}.idea-cooking small{font-size:11px;margin-top:6px;min-height:15px;color:var(--quiet)}.toy .idea-cooking button{border:0;background:transparent;font-size:12px;min-height:44px;padding:5px 16px;color:var(--coral)}
.cooking-art{position:relative;width:82px;height:94px;margin:auto}.cooking-art svg{width:82px;height:82px;margin-top:12px;filter:drop-shadow(0 4px 3px #33494315)}.clock-hand{transform-origin:50px 50px;animation:idea-clock 4s linear infinite}.steam{position:absolute;top:8px;width:4px;height:14px;border-radius:50%;background:#bc6c5277;animation:idea-steam 2s ease-in-out infinite}.s1{left:26px}.s2{left:40px;animation-delay:.5s}.s3{left:54px;animation-delay:1s}@keyframes idea-clock{to{transform:rotate(360deg)}}@keyframes idea-steam{0%{transform:translateY(0);opacity:0}40%{opacity:.7}100%{transform:translateY(-12px);opacity:0}}@media(prefers-reduced-motion:reduce){.clock-hand,.steam{animation:none}}
body.cooking #hud #actions,body.cooking #hud #intentForm,body.cooking .object-size,body.cooking .block-name{visibility:hidden}body.cooking .hud{width:300px}body.cooking .hud #finish{display:none}

body.cooking #hud>:not(.hud-top):not(#feedback){display:none!important}

/* Shared artisan game skin: HTML touch/voice controls and Babylon world badges. */
.toy{--paper:#f4ead7;--surface:#fff7e8;--ink:#334943;--coral:#bc6c52;--rule:#b498722f;font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif}
.toy button{border:1px solid #b4987238;box-shadow:0 3px 0 #9a775036,0 5px 12px #3349430b;transition:transform .15s,box-shadow .15s,background .15s;font-weight:600;letter-spacing:.1px}.toy button:active{transform:translateY(2px);box-shadow:0 1px 0 #9a775036}.toy button:focus-visible,.toy input:focus-visible{outline:3px solid #bc6c5299;outline-offset:3px}.toy button:disabled{box-shadow:none}
.toy header{gap:8px}.toy header a{border-radius:20px;box-shadow:0 3px 0 #9a775025}.toy header #buildMute,.toy header #share{border-radius:24px;padding:8px 14px;font-size:12px}.toy header #roomState{color:#33494399}
.toy .hud,.toy .welcome{background:#f4ead7ed;border:1px solid #fff8e5;border-radius:28px;box-shadow:0 5px 0 #c2a37b35,0 12px 35px #33494315;backdrop-filter:blur(8px)}.toy .hud-top{gap:6px}.toy .hud-top span{color:#9b5946;font-weight:700}.toy .hud-top button{background:transparent;box-shadow:none;font-size:12px}.toy .hud #feedback{font-size:15px;line-height:1.45}.toy .intent-form label{color:#667265}.toy .intent-row{align-items:center;gap:8px}.toy .intent-row input{border:1px solid #b4987244;background:#fff7e8;border-radius:20px;box-shadow:inset 0 2px 4px #9a775010;font-size:15px}.toy .intent-row button{height:52px;width:52px;border-radius:50%;box-shadow:0 4px 0 #8b4935;font-size:21px}.toy #intentMic[aria-pressed="true"]{outline:5px solid #bc6c5233;outline-offset:2px}.toy #intentReview{flex-wrap:wrap;gap:8px}.toy #intentReview span{flex-basis:100%;font-size:17px}.toy #intentConfirm{background:#6e9279;color:#fff7e8;border-radius:20px;padding:8px 16px;box-shadow:0 3px 0 #4c7057}.toy #intentCancel{background:#e9ddc8;border-radius:20px;padding:8px 12px}.toy #reviewMic{background:var(--coral);color:#fff7e8;border-radius:50%;width:48px}
.toy #actions button{background:#e9ddc8;border-radius:18px;min-height:46px}.toy #giveShape{color:#9b5946}.toy .street-entry,.toy .spoken-street button{border-radius:22px}.toy .object-size button{border-radius:50%;box-shadow:0 4px 0 #9a775055}.toy .block-name{border-radius:22px;border:1px solid #bc6c5255;background:#fff7e8}.toy dialog{background:#f4ead7;border:1px solid #fff8e5;border-radius:28px;box-shadow:0 18px 60px #33494333}.toy .idea-row{border-radius:18px;padding:15px}.toy .welcome .primary{background:var(--coral);color:#fff7e8;border-radius:24px;box-shadow:0 4px 0 #8b4935}.toy .welcome h1{font-size:44px;color:var(--ink);letter-spacing:-1.5px}.toy .welcome small{margin-top:10px}
.babylon-skin-ready .build-labels{visibility:hidden}
@media(max-width:600px){.toy .hud{left:12px;bottom:16px;width:calc(100% - 24px);padding:14px}.toy header #buildMute,.toy header #share{padding:8px 12px}.toy .intent-row input{min-height:52px}.toy .hud #feedback{font-size:14px}.toy .welcome{border-radius:28px}.toy .welcome h1{font-size:38px}body.cooking .hud{width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.toy button{transition:none}}

.toy #browse{background:transparent;border:0;box-shadow:none;border-radius:0;font-weight:400;padding:4px 0}

/* Clay world, paper invitations. No texture repeats or screen-space noise. */
.toy .hud,.toy .welcome{background:#fff3da;border-radius:5px 20px 6px 18px;border:1px solid #d7bf984f;box-shadow:0 4px 0 #d7bf9833,0 12px 28px #685a3920;backdrop-filter:none}
.toy .hud::before,.toy .welcome::before{content:"";position:absolute;right:0;top:0;width:22px;height:22px;background:linear-gradient(45deg,#e0c7a4 48%,#fff9ec 50%);border-radius:0 17px 0 3px;pointer-events:none}
.toy header a,.toy .block-name{border-radius:4px 11px 4px 9px;background:#fff3da;box-shadow:2px 3px 0 #9f886424}
.toy .block-name{border:1px solid #c7a77b55}
.toy #actions button{background:#ead8b8;border-radius:16px 20px 17px 18px}
.toy .intent-row input{border-radius:4px 12px 5px 11px;background:#fff9ed;box-shadow:none}
.toy .intent-row button,.toy .object-size button{border-radius:46% 54% 49% 51%;border:1px solid #ffffff45}
.toy .idea-cooking{background:#fff3da;border-radius:4px 19px 5px 14px;backdrop-filter:none;box-shadow:4px 6px 0 #aa8d6422,0 10px 30px #685a3920}
.cooking-art svg{animation:paper-breathe 2.4s ease-in-out infinite}.steam{border-radius:1px;width:6px;height:9px;background:#d5b97d}
@keyframes paper-breathe{50%{transform:translateY(-3px) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){.cooking-art svg{animation:none}}

/* A composed civic stage: restrained lettering and theatrical symmetry. */
.toy{--coral:#b67872;--ink:#365b55;--paper:#f5e9d1;--surface:#fff6e4}
.plaza-title{position:absolute;top:78px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;color:#365b55;text-shadow:0 1px #fff6e4;max-width:50vw}
.plaza-title span{display:block;font-size:9px;letter-spacing:2.4px;margin-bottom:7px}.plaza-title strong{display:block;font:normal 29px Georgia,serif;letter-spacing:.3px}.plaza-title i{display:block;font:italic 12px Georgia,serif;margin-top:7px}
.toy header a{font-family:Georgia,serif;letter-spacing:1.3px}.toy .hud,.toy .welcome,.toy dialog{background:#f8edd7;border:1px solid #b99d6955}.toy .hud-top{padding-bottom:8px;margin-bottom:10px;border-bottom:1px solid #b99d6955}.toy .hud-top span{letter-spacing:1.5px;font-size:10px;color:#8d5855}.toy .welcome h1,.toy dialog h2{font-family:Georgia,serif;font-weight:normal;letter-spacing:-1px}.toy .welcome .eyebrow{font-size:9px;letter-spacing:2px}.toy #actions button{background:#e9dcc0;color:#365b55}.toy .intent-row button{background:#b67872;box-shadow:0 3px 0 #8d5855}.toy .street-entry{background:#eee2c6;color:#365b55}.spoken-walk .plaza-title{display:none}
@media(max-width:620px){.plaza-title{top:150px;max-width:90vw;width:90vw}.plaza-title span{font-size:8px;letter-spacing:1.8px}.plaza-title strong{font-size:23px}.plaza-title i{font-size:11px}.toy .hud #feedback{font-size:14px}}
@media(max-height:650px){.plaza-title{display:none}}

.build-vr-entry{position:fixed;top:112px;right:16px;z-index:12;display:flex;gap:8px;flex-wrap:wrap;max-width:260px}.build-vr-entry button{background:#eee2ca;color:#334943;border:1px solid #334943;min-height:44px;padding:8px 12px;border-radius:16px}@media(max-width:600px){.build-vr-entry{top:120px;right:8px;max-width:200px}}

.build-vr-entry{display:block;top:82px;max-width:230px}.build-vr-entry[hidden]{display:none}.build-vr-entry summary{background:#eee2ca;color:#334943;border:1px solid #334943;min-height:44px;padding:12px;border-radius:16px;cursor:pointer;box-sizing:border-box}.build-vr-entry button{display:block;margin-top:6px}@media(max-width:600px){.build-vr-entry{top:82px;right:8px;max-width:180px}}

.build-vr-entry[open]{background:#eee2ca;padding:8px;border-radius:16px;border:1px solid #9aa18c}.build-vr-entry p{font-size:12px;line-height:1.4;max-width:210px;margin:8px 4px;color:#334943}
