:root{color:#f8fafc;background:#080b20;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{min-width:320px;min-height:100dvh;background:radial-gradient(circle at 12% 18%,rgba(65,102,255,.3),transparent 28rem),radial-gradient(circle at 84% 88%,rgba(205,77,255,.2),transparent 30rem),linear-gradient(145deg,#080b20,#111742 58%,#17113b)}button,textarea{font:inherit}button{min-height:42px;border:0;cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.5}textarea{width:100%;resize:none;border:1px solid rgba(177,194,255,.2);border-radius:13px;outline:none;color:#f8fafc;background:#050a239e;line-height:1.45}textarea:focus{border-color:#6ee7ff;box-shadow:0 0 0 3px #6ee7ff21}h1,h2,p{margin-top:0}.shell{display:grid;width:100%;height:100dvh;grid-template-rows:minmax(0,1fr);padding:10px}.adult-link{position:absolute;z-index:70;top:12px;right:12px;width:38px;min-height:36px;padding:0;border-radius:11px;border:1px solid rgba(180,198,255,.2);color:#dbe7ff;background:#ffffff14;font-size:13px;font-weight:800}.studio{display:grid;min-height:0;grid-template-columns:minmax(300px,350px) minmax(0,1fr);gap:12px}.creator-panel,.preview-section{min-height:0;border:1px solid rgba(155,176,255,.18);border-radius:20px;box-shadow:0 18px 54px #01041457}.creator-panel{position:relative;overflow:auto;padding:18px;background:radial-gradient(circle at 20% 0,rgba(91,111,255,.23),transparent 15rem),linear-gradient(160deg,#1e2555fa,#111536fa);scrollbar-width:thin}.preview-section{background:radial-gradient(circle at 80% 0,rgba(84,92,231,.2),transparent 24rem),linear-gradient(160deg,#181f48fa,#0c102afa)}.creator-heading{margin-bottom:14px}.eyebrow,.step{color:#6ee7ff;font-size:11px;font-weight:900;letter-spacing:.08em}.creator-heading h1{margin:5px 0 0;font-size:clamp(22px,2.5vw,30px);line-height:1.16;letter-spacing:-.035em;padding-right:40px}.portfolio,.idea-card,.modify-section{margin-bottom:12px;padding:13px;border:1px solid rgba(178,194,255,.12);border-radius:16px;background:#ffffff0e;box-shadow:inset 0 1px #ffffff0a}.portfolio-heading,.modify-heading,.idea-actions,.modify-actions,.confirm-row,.preview-heading,.preview-footer,.preview-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.portfolio-heading,.modify-heading{margin-bottom:9px}.portfolio-heading h2,.modify-heading h2{margin:0;font-size:16px}.new-project-button,.undo-button{min-height:34px;padding:0 10px;border-radius:9px;color:#bfeaff;background:#4ab4ff21;font-size:12px;font-weight:900}.project-list{display:flex;gap:7px;overflow-x:auto;padding:2px}.project-item{position:relative;min-width:160px}.project-card{display:flex;width:100%;min-height:55px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:8px 34px 8px 10px;border:1px solid rgba(178,194,255,.14);border-radius:11px;color:#f8fafc;background:#060b256b;text-align:left}.delete-project-button{position:absolute;top:8px;right:7px;width:26px;min-height:26px;padding:0;border-radius:8px;color:#a9b5d4;background:#ffffff0f;font-size:17px;font-weight:900;line-height:1}.delete-project-button:hover,.delete-project-button:focus-visible{color:#fecdd3;background:#f43f5e2e}.project-card strong{max-width:142px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card span{color:#9ba9cc;font-size:10px}.project-card.active{border-color:#6ee7ff;background:linear-gradient(135deg,#3c6fff57,#9b46ff40);box-shadow:0 0 20px #4a90ff29}.idea-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.idea-label-row label{font-size:13px;font-weight:900}.demo-toggle{min-height:28px;padding:0 8px;border-radius:8px;color:#fde68a;background:#fbbf241a;font-size:9px;font-weight:900}.demo-toggle[aria-pressed=true]{color:#fff;background:#fb923c47}.modify-heading-actions{display:flex;align-items:center;gap:5px}.idea-card textarea,.modify-section textarea{padding:10px 11px;font-size:14px}.idea-card textarea::placeholder,.modify-section textarea::placeholder{color:#7a89b0}.first-steps{display:flex;gap:6px;margin:0 0 10px;padding:6px 9px;list-style:none;border:1px solid rgba(178,194,255,.14);border-radius:12px;background:#ffffff0d}.first-steps li{flex:1;color:#cdd8f6;font-size:11px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.first-steps li b{color:#6ee7ff;font-size:13px;margin-right:3px}.suggestion-block{margin-top:7px}.suggestion-hint{display:block;margin-bottom:5px;color:#9ba9cc;font-size:11px;font-weight:700}.suggestion-chips{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.suggestion-chip{flex:0 0 auto;min-height:34px;padding:0 11px;border:1px solid rgba(178,194,255,.2);border-radius:999px;color:#e8eefc;background:#6082ff21;font-size:12px;font-weight:800;white-space:nowrap}.suggestion-chip:hover,.suggestion-chip:focus-visible{border-color:#6ee7ff;background:#60a0ff42}.suggestion-limit{display:block;margin-top:6px;color:#93a3c8;font-size:10px}.sky-guide{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px;align-items:center;margin-top:6px;padding:5px 6px 5px 9px;border:1px solid rgba(251,191,36,.24);border-radius:10px;color:#e8eefc;background:#fbbf2414;font-size:10px}.sky-guide span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sky-guide b{color:#fde68a}.sky-guide button{min-height:26px;padding:0 7px;border-radius:8px;color:#fff4c2;background:#fbbf2424;font-size:9px;font-weight:900}.sky-guide button:disabled{opacity:.55}.idea-actions,.modify-actions{margin-top:8px}.voice-button,.primary-button,.confirm-button,.confirm-row>button,.speech-toggle{border-radius:11px;font-size:12px;font-weight:900}.voice-button{display:inline-flex;align-items:center;gap:5px;padding:0 12px;color:#bfeaff;background:#42aeff24}.primary-button,.confirm-button{padding:0 14px;color:#fff;background:linear-gradient(135deg,#437ef7,#6c55f7 55%,#aa4de8);box-shadow:0 7px 18px #4c53ee4d}.voice-message,.modify-message,.share-message{margin:7px 0 0;color:#9ba9cc;font-size:11px;line-height:1.4}.voice-listening,.modify-message.success{color:#72e7b2}.voice-error,.modify-message.error{color:#ff9b85}.ai-mode{margin:7px 0 0;font-size:11px;line-height:1.4;color:#9ba9cc}.ai-mode-external{color:#7ef0c0}.ai-mode-checking{color:#9ba9cc}.cloud-sync{margin-top:14px;padding-top:12px;border-top:1px solid rgba(148,163,184,.25)}.cloud-sync h3{margin:0 0 6px;font-size:14px}.cloud-sync p{margin:4px 0;font-size:12px}.sync-code{font-family:Consolas,monospace;font-size:18px;letter-spacing:2px;padding:6px 10px;background:#4bc8ff1f;border-radius:8px;-webkit-user-select:all;user-select:all}.sync-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.sync-actions input{flex:1;min-width:140px;padding:6px 8px;border-radius:8px;border:1px solid rgba(148,163,184,.4);background:#0f172a99;color:#e2e8f0}.patch-preview{margin-top:8px;padding:10px 12px;border-radius:11px;border:1px solid rgba(110,231,255,.22);background:#4bc8ff14;color:#d9edff;font-size:12px;line-height:1.5}.patch-preview ul{margin:4px 0;padding-left:4px;list-style:none}.patch-preview .patch-title{margin:0;color:#6ee7ff;font-weight:900}.patch-preview .patch-preserve{margin:4px 0 0;color:#9ba9cc}.patch-preview .patch-unsupported{margin:4px 0 0;color:#ffe3a1}.clarify-question{margin:8px 0 0;padding:8px 10px;border-radius:11px;border:1px solid rgba(255,214,110,.25);background:#ffd66e1a;color:#ffe3a1;font-size:12px;line-height:1.5}.understanding{display:grid;gap:3px;margin-top:8px;padding:9px 10px;border-radius:11px;border:1px solid rgba(110,231,255,.1);color:#d9edff;background:#4bc8ff17;font-size:11px;line-height:1.4}.understanding span{color:#6ee7ff;font-weight:900}.confirm-row{align-items:stretch;margin-top:8px}.confirm-row>button{padding:0 10px;color:#c3cdea;background:#ffffff17}.confirm-row .confirm-button{flex:1;color:#fff;background:linear-gradient(135deg,#16a779,#12a2ba)}.speech-toggle{min-height:30px;margin-top:7px;padding:0 9px;color:#aab7d7;background:transparent}.progress-note{margin-top:8px;color:#79e8ff;font-size:12px;font-weight:800}.version-history{display:flex;gap:6px;overflow-x:auto;margin-top:8px}.version-history button{min-height:32px;flex:0 0 auto;padding:0 9px;border-radius:8px;color:#b8c4e3;background:#ffffff17;font-size:10px;font-weight:800}.version-history button.active{color:#fff;background:linear-gradient(135deg,#397ff6,#7257f2)}.preview-section{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;padding:14px}.template-picker{display:flex;flex-wrap:nowrap;gap:6px;margin-bottom:8px;padding:1px 1px 4px;overflow-x:auto;scrollbar-width:thin}.template-picker button{display:flex;flex:0 0 auto;min-height:40px;align-items:center;gap:6px;padding:4px 10px 4px 5px;border:1px solid rgba(180,198,255,.13);border-radius:999px;color:#f8fafc;background:#fff1;text-align:left}.template-picker .template-icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;background:#ffffff1c;font-size:17px}.template-picker .template-copy{display:grid;min-width:0;gap:2px}.template-picker button strong{font-size:12px;white-space:nowrap}.template-picker button small{display:none}.template-picker button.active{border-color:#6ee7ff;color:#fff;background:linear-gradient(135deg,#327aff6b,#7e49ff61);box-shadow:inset 0 0 0 1px #6ee7ff59,0 0 22px #467eff33}.template-picker button[data-starter=ocean-collector] .template-icon{background:#2bd3e333}.template-picker button[data-starter=forest-maze] .template-icon{background:#4ddb8f2e}.template-picker button[data-starter=farm-harvest] .template-icon{background:#f8b93833}.template-picker button[data-starter=night-adventure] .template-icon{background:#6f58ff42}.template-picker button[data-starter=neon-shooter] .template-icon{background:#22d3ee3d}.template-picker button[data-starter=sky-1945] .template-icon{background:#fbbf243b}.project-context{display:flex;gap:6px;margin-bottom:7px}.project-context span{padding:5px 9px;border-radius:999px;color:#bfeaff;background:#40a7ff21;font-size:10px;font-weight:900}.preview-heading{margin-bottom:9px}.preview-heading h2{margin:2px 0 0;font-size:clamp(19px,2.2vw,27px);line-height:1.12}.status{display:flex;align-items:center;gap:7px;flex:0 0 auto;color:#167246;font-size:12px;font-weight:900}.status span{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.status-paused,.status-failed{color:#a1442d}.status-paused span,.status-failed span{background:#f97316}.game-surface{position:relative;min-width:0;min-height:0;overflow:hidden;border:2px solid rgba(111,146,255,.42);border-radius:16px;background:#05091d;box-shadow:0 0 0 5px #5367e014,0 16px 44px #00000057;overscroll-behavior:none;touch-action:none;user-select:none;-webkit-user-select:none}.game-frame{width:100%;height:100%;overflow:hidden;background:#10214a;overscroll-behavior:none;touch-action:none}.game-frame canvas{display:block;max-width:100%;touch-action:none!important;user-select:none;-webkit-user-drag:none;-webkit-user-select:none}.game-tools{position:absolute;z-index:20;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));display:flex;gap:7px}.game-tools button{display:grid;width:42px;min-height:42px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:12px;color:#fff;background:#0a1427bf;box-shadow:0 4px 16px #0003;font-size:18px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}button.music-off{opacity:.55}button.music-toggle{position:relative}button.music-off:after{content:"";position:absolute;left:9px;right:9px;top:50%;height:2px;background:#f87171;border-radius:2px;transform:rotate(-45deg)}.game-surface:fullscreen,.game-surface:-webkit-full-screen,.game-surface.fallback-fullscreen{width:100vw;height:100dvh;border:0;border-radius:0;background:#020617}.game-surface.fallback-fullscreen{position:fixed;z-index:999;top:0;right:0;bottom:0;left:0}.preview-footer{min-height:51px;padding-top:9px}.touch-tip,.feedback-context{min-width:0;color:#aab7d7;font-size:11px;font-weight:700}.feedback-context{padding:7px 9px;border-radius:9px;color:#d9edff;background:#49b7ff1a}.preview-actions{flex:0 0 auto}.preview-actions button{min-height:38px;padding:0 12px;border-radius:10px;color:#d9e4ff;background:#ffffff17;font-size:11px;font-weight:900}.preview-actions .feedback-button{color:#fff;background:linear-gradient(135deg,#496ef1,#7552e8)}.modal-backdrop{position:fixed;z-index:1100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#0f172a80;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.adult-dialog{position:relative;width:min(480px,100%);max-height:min(90dvh,820px);overflow-y:auto;padding:28px;border-radius:22px;background:#fff;color:#172033;box-shadow:0 28px 80px #0f172a40}.adult-dialog h2{margin:7px 0 10px;font-size:27px}.adult-dialog>p{color:#66758e;line-height:1.6}.close-dialog{position:absolute;top:12px;right:12px;width:40px;border-radius:50%;color:#66758e;background:#eef2f7;font-size:22px}.adult-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0;padding:13px;border-radius:12px;color:#425069;background:#f4f7fb;line-height:1.5}.adult-confirm input{width:18px;height:18px;margin-top:2px}.ipad-pilot-panel{margin-top:22px;padding-top:20px;border-top:1px solid #dfe6ef}.ipad-pilot-heading,.ipad-pilot-timer{display:flex;align-items:center;justify-content:space-between;gap:12px}.ipad-pilot-heading h3{margin:3px 0 0;font-size:21px}.pilot-passed,.pilot-incomplete{padding:5px 9px;border-radius:999px;font-size:12px}.pilot-passed{color:#166534;background:#dcfce7}.pilot-incomplete{color:#92400e;background:#fef3c7}.ipad-pilot-privacy,.ipad-pilot-status{margin:9px 0;color:#66758e;font-size:12px;line-height:1.5}.ipad-pilot-environment{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.ipad-pilot-environment span{padding:4px 7px;border-radius:7px;color:#425069;background:#eef2f7;font-size:10px;font-weight:800}.ipad-pilot-timer button{min-height:36px;padding:0 12px;border-radius:10px;color:#fff;background:#315be8;font-weight:900}.ipad-pilot-timer output{color:#172033;font-variant-numeric:tabular-nums;font-weight:900}.ipad-pilot-checks{display:grid;gap:6px;margin:12px 0}.ipad-pilot-checks label{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;padding:8px 9px;border-radius:9px;color:#425069;background:#f4f7fb;font-size:12px;line-height:1.35}.ipad-pilot-checks input{width:18px;height:18px;margin:0}.usability-pilot-panel{display:grid;gap:12px}.usability-prerequisites{display:grid;gap:8px;margin:0;padding:12px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}.usability-prerequisites legend{padding:0 6px;color:#334155;font-size:.78rem;font-weight:800}.usability-prerequisites label{display:flex;align-items:flex-start;gap:9px;color:#334155;font-size:.78rem;line-height:1.35}.usability-prerequisites input{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:#16a34a}.usability-session-id{margin:0;color:#475569;font-size:.76rem;font-weight:700}.pilot-warning{padding:9px 10px;border-radius:10px;color:#9a3412;background:#fff7ed;font-weight:800}.usability-observations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.usability-field{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:8px;min-height:50px;padding:8px 10px;border:1px solid #dbe4ee;border-radius:12px;color:#334155;background:#fff;font-size:.75rem;font-weight:700;line-height:1.25}.usability-field select{width:100%;min-width:0;padding:7px 6px;border:1px solid #cbd5e1;border-radius:9px;color:#0f172a;background:#f8fafc;font:inherit}.usability-field select:disabled{opacity:.65}.usability-actions{display:flex;flex-wrap:wrap;gap:8px}.usability-actions button{min-height:40px}@media(max-width:900px){.studio{grid-template-columns:minmax(250px,285px) minmax(0,1fr)}.creator-panel,.preview-section{padding:12px}.touch-tip{display:none}}@media(max-width:680px){.shell{padding:5px 7px 7px}.studio{grid-template-columns:1fr;grid-template-rows:minmax(210px,38%) minmax(0,62%)}.creator-panel{padding:11px}.creator-heading h1{font-size:20px}.preview-section{padding:9px}.template-picker,.preview-heading{margin-bottom:5px}.preview-footer{min-height:45px;padding-top:5px}.usability-observations{grid-template-columns:1fr}}@media(max-height:700px){.shell{padding-top:4px}.creator-heading{margin-bottom:9px}.creator-heading h1{font-size:22px}.portfolio,.idea-card,.modify-section{margin-bottom:8px;padding:10px}.template-picker button{min-height:43px}}
