.dictate-field{display:block}.dictate-btn{color:#000;letter-spacing:.12em;background:#fff;border:2px solid #000;align-items:center;gap:8px;min-height:40px;margin-top:8px;padding:0 14px;font-size:8px;font-weight:800;display:inline-flex;box-shadow:3px 3px #000}.dictate-btn i{color:#7d7872;font-style:normal}.dictate-btn.is-listening{background:#f5a623}.dictate-btn.is-listening i{color:#000;animation:1s steps(2,end) infinite dictate-pulse}@keyframes dictate-pulse{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.dictate-btn.is-listening i{animation:none}}.m-topbar,.tabbar,.tab-sheet{display:none}@media (width<=860px){html,body{-webkit-text-size-adjust:100%;overscroll-behavior-y:contain;background:#f7f5f1}.prototype{background:#f7f5f1;min-height:100vh;padding:0}.preview-nav,.browser-bar,.rail{display:none!important}.app-window{max-width:none;box-shadow:none;background:#f7f5f1;border:0;border-radius:0;margin:0}.workshop-app{grid-template-columns:1fr;min-height:0}.screen{padding:12px 12px calc(84px + env(safe-area-inset-bottom,0px))!important}.bit-auth{min-height:100vh;padding:18px 14px calc(24px + env(safe-area-inset-bottom,0px))}.bit-auth-card{width:100%;max-width:none;padding:16px;box-shadow:5px 5px #000}.bit-auth-card input,.bit-auth-card button{width:100%;min-height:48px;font-size:16px}.bit-auth-card button{font-size:10px}.bit-auth-card .bit-actions{grid-template-columns:1fr;gap:8px;display:grid}.m-topbar{z-index:40;height:54px;padding:0 12px;padding-top:env(safe-area-inset-top,0px);background:#efede7;border-bottom:2px solid #000;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;display:grid;position:sticky;top:0}.m-topbar b{letter-spacing:.1em;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:10px;overflow:hidden}.m-topbar-mark{background:#f5a623;border:2px solid #000;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:13px;display:grid}.m-topbar-switch{flex-shrink:0;gap:6px;display:flex}.m-topbar-switch button{color:#7d7872;letter-spacing:.1em;background:#f7f5f1;border:2px solid #000;min-height:34px;padding:0 10px;font-size:8px;font-weight:800}.m-topbar-switch button.active{color:#000;background:#f5a623;box-shadow:2px 2px #000}.tabbar{z-index:50;padding-bottom:env(safe-area-inset-bottom,0px);background:#efede7;border-top:2px solid #000;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px #00000010}.tabbar>a,.tabbar-more{background:0 0;border:0;padding:0;text-decoration:none;display:block}.tabbar span{color:#7d7872;letter-spacing:.1em;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:58px;font-size:7px;font-weight:800;display:flex}.tabbar span i{font-size:17px;font-style:normal;line-height:1}.tabbar span.is-active{color:#000;background:#f7f5f1;border-top:3px solid #f5a623}.tab-sheet{z-index:60;display:block;position:fixed;inset:0}.tab-sheet-scrim{background:#0006;border:0;width:100%;position:absolute;inset:0}.tab-sheet-card{padding:14px 12px calc(84px + env(safe-area-inset-bottom,0px));background:#f7f5f1;border-top:2px solid #000;position:absolute;bottom:0;left:0;right:0}.tab-sheet-card header{letter-spacing:.12em;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:9px;display:flex}.tab-sheet-list{gap:8px;display:grid}.tab-sheet-list a{text-decoration:none}.tab-sheet-list span{color:#000;letter-spacing:.1em;background:#fff;border:2px solid #000;align-items:center;gap:12px;min-height:52px;padding:0 14px;font-size:10px;font-weight:800;display:flex}.tab-sheet-list span.is-active{background:#f5a623;box-shadow:3px 3px #000}.tab-sheet-list span i{font-size:16px;font-style:normal}.bit-btn,.idea-form button,.screen button:not(.tabbar-more):not(.m-topbar-switch button):not(.dictate-btn){letter-spacing:.1em;min-height:48px;padding:0 16px;font-size:10px}.bit-btn--small{min-height:44px;padding:0 12px;font-size:9px}.bit-actions,.slot-actions,.page-actions{grid-template-columns:1fr;gap:8px;display:grid}.bit-actions>*,.slot-actions>*,.page-actions>*,.bit-actions button,.slot-actions button{width:100%}.screen input,.screen textarea,.screen select{width:100%;min-height:48px;font-size:16px}.screen textarea{min-height:120px}.screen [class*=grid],.slot-row,.idea-form>div,.page-head,.rank-grid,.stat-row{grid-template-columns:1fr!important}.page-head{gap:10px;display:grid}.page-head h1,.game-head h1{font-size:22px;line-height:1.15}.page-head p{font-size:11px}.bit-panel,.slot-card{padding:12px}.screen table{display:block;overflow-x:auto}html,body,.prototype,.app-window,.workshop-app,.screen{max-width:100%;overflow-x:hidden}.screen>*{min-width:0}.bit-chip,.rank-tag{white-space:normal;overflow-wrap:anywhere}.pixfig--large .pixfig-stage{min-height:190px;padding:10px}.pixfig--large .pixfig-art{height:calc(168px * var(--stage-scale,1))}.pixfig--small .pixfig-stage{min-height:116px}.pixfig--small .pixfig-art{height:calc(94px * var(--stage-scale,1))}.project-heading{grid-template-columns:1fr;gap:8px;min-height:0;padding-bottom:12px;display:grid}.project-heading h1{font-size:26px;line-height:1.05}.project-columns{grid-template-columns:1fr;gap:12px;margin-top:14px;display:grid}.project-columns>article,.project-columns>aside{padding:14px;box-shadow:4px 4px #000}.note-dump{margin:12px 0 16px;padding:12px}.note-dump textarea{min-height:96px}.agent-draft{width:100%;max-height:88vh;padding:16px 14px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:none;top:auto;bottom:0;left:0;transform:none}.score-duel{padding:12px;box-shadow:4px 4px #000}.score-duel>header{align-items:flex-start}.growing-row{gap:10px;min-height:0;padding:14px;grid-template-columns:1fr!important}.growing-row h2{font-size:18px}.growing-row em{justify-self:start}@media (display-mode:standalone){.m-topbar{height:60px}}.pet-stage-head,.pet-egg-card,.pet-win,.pet-collected{grid-template-columns:1fr!important}.pet-sprite{height:104px}.pet-section .pet-xp{text-align:left;min-width:0}.screen .pet-code{min-height:240px;font-size:13px}.pet-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pet-actions>button{width:100%}.pet-win-face{height:72px;font-size:34px}}
