.idea-app{min-height:100vh;background:#fff;color:#253b31;font-family:Microsoft YaHei,system-ui,sans-serif;display:grid;grid-template-columns:248px minmax(0,1fr)}.idea-app *{box-sizing:border-box}.idea-app button,.idea-app textarea{font:inherit}.idea-app button{cursor:pointer;border:1px solid #dce3de;background:#fff;border-radius:10px;padding:10px 14px;color:inherit;box-shadow:none}.idea-app button:disabled{opacity:.5;cursor:default}.idea-app :is(button,textarea,a):focus-visible{outline:3px solid #86b9a0;outline-offset:3px}.idea-sidebar{position:sticky;top:0;height:100vh;background:#f6f7f4;border-right:1px solid #e7ebe7;display:flex;flex-direction:column;padding:26px 16px;gap:12px}.idea-brand{display:flex;align-items:center;gap:10px;padding:0 12px 20px;color:#2d7055;text-decoration:none;font-size:30px}.idea-brand strong{font-size:25px;letter-spacing:-1px}.idea-brand strong span{color:#aabb9e}.idea-sidebar .idea-new{display:flex;gap:8px;align-items:center;text-align:left;background:#fff}.idea-sidebar h2{font-size:12px;font-weight:500;color:#7b897f;padding:10px 12px 0;margin:0}.idea-history{overflow:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:4px}.idea-history button{border:0;background:transparent;text-align:left;padding:12px;flex-shrink:0}.idea-history button:hover,.idea-history button[aria-current=page]{background:#e8eee7}.idea-history strong{display:block;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.idea-history span{display:block;font-size:11px;color:#829086;margin-top:6px}.idea-sidebar p{font-size:12px;line-height:1.7;color:#728175;padding:0 12px}.idea-sidebar .idea-back{display:flex;gap:7px;align-items:center;border:0;background:transparent;font-size:12px}.idea-main{min-width:0;padding:0 36px 36px}.idea-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#5f7065;font-size:13px}.idea-topbar>span{display:flex;gap:9px;align-items:center}.idea-topbar small{font-size:11px;color:#87958b}.idea-welcome{max-width:720px;margin:clamp(42px,12vh,130px) auto 30px}.idea-emblem{font-size:52px;color:#3b7c5b;line-height:1}.idea-welcome h1{font-size:clamp(28px,3vw,40px);line-height:1.45;font-weight:600;letter-spacing:-1px;margin:18px 0}.idea-welcome>p{font-size:14px;line-height:1.8;color:#849084;margin:0 0 30px}.idea-composer{padding:18px;border:1px solid #d8e2d9;border-radius:20px;background:#fff;box-shadow:0 6px 24px #26473609}.idea-composer:focus-within{border-color:#8bad93;box-shadow:0 0 0 3px #eaf1e8}.idea-composer textarea{width:100%;border:0;outline:none!important;resize:vertical;min-height:104px;max-height:340px;font-size:16px;line-height:1.8;color:#30463b;background:transparent}.idea-composer textarea::placeholder{color:#a0aba1}.idea-composer>div{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.idea-composer small{color:#9aa49c;font-size:11px}.idea-composer button{display:grid;place-items:center;background:#326f52;color:#fff;width:40px;height:40px;padding:0;border:0;border-radius:12px}.idea-examples{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.idea-examples button{font-size:12px;color:#68796c;background:#fafbf8}.idea-examples span{margin-left:18px;color:#93a38e}.idea-task{max-width:800px;margin:35px auto}.idea-user-message{margin-left:auto;max-width:85%;padding:18px 22px;background:#f1f5ef;border-radius:18px}.idea-user-message small{font-size:11px;color:#789078}.idea-user-message p{font-size:15px;line-height:1.8;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.idea-response{display:grid;grid-template-columns:32px minmax(0,1fr);gap:18px;margin-top:44px}.idea-avatar{font-size:32px;line-height:1.2;color:#36704c}.idea-response h1{font-size:22px;line-height:1.6;margin:0 0 22px;overflow-wrap:anywhere}.idea-stages{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:16px;font-size:12px}.idea-stages li{display:flex;gap:6px;align-items:center;color:#a4afa5}.idea-stages li[data-state=done]{color:#437c54}.idea-stages li[data-state=active]{color:#326f52;font-weight:600}.idea-stage-dot{width:10px;height:10px;margin:3px;border:1px solid #bdc8bf;border-radius:50%}.idea-message{font-size:14px;line-height:1.8;color:#57705d}.idea-brief{font-size:14px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}.idea-brief dl{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;margin:22px 0}.idea-brief dt{color:#819180;font-size:12px}.idea-brief dd{margin:0}.idea-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.idea-actions button{font-size:13px;display:flex;gap:6px;align-items:center}.idea-actions .idea-primary{background:#326f52;border-color:#326f52;color:#fff}.idea-footnote{font-size:12px;color:#899788;line-height:1.8;margin-top:18px}.idea-error,.idea-notice{max-width:720px;margin:20px auto;padding:14px 18px;font-size:13px;line-height:1.8;border-radius:12px;background:#fff3eb;color:#915b37}.idea-notice{background:#eef5e9;color:#527843}.idea-spin{animation:idea-spin 1.3s linear infinite}@keyframes idea-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.idea-app{grid-template-columns:1fr}.idea-sidebar{position:static;height:auto;padding:14px;display:grid;grid-template-columns:1fr auto;gap:8px;border-right:0;border-bottom:1px solid #e7ebe7}.idea-brand{font-size:23px;padding:0 10px}.idea-brand strong{font-size:21px}.idea-sidebar h2{grid-column:1/-1;padding:8px 6px 0}.idea-history{grid-column:1/-1;max-height:120px;display:flex;flex-direction:row;overflow:auto}.idea-history button{width:180px}.idea-sidebar .idea-back{grid-column:1/-1;justify-self:start}.idea-main{padding:0 20px 30px}.idea-topbar{height:58px}.idea-topbar small{display:none}.idea-welcome{margin:38px auto}.idea-user-message{max-width:100%}.idea-response{gap:10px;grid-template-columns:26px minmax(0,1fr)}.idea-stages{gap:12px}.idea-brief dl{grid-template-columns:1fr;gap:4px}.idea-brief dd{margin-bottom:10px}}@media(prefers-reduced-motion:reduce){.idea-spin{animation:none}}.idea-history button{display:flex;flex-direction:column;align-items:stretch;gap:0}.idea-history strong{width:100%}.idea-stages li[data-state=failed]{color:#a44d36;font-weight:600}.idea-stages li[data-state=failed] .idea-stage-dot{border-color:currentColor;background:#fff0e9}.idea-code-progress{margin:0 0 20px;padding:16px;border:1px solid #e2e9e1;border-radius:12px;background:#f8faf7}.idea-code-progress h2{margin:0 0 12px;font-size:13px;font-weight:500;color:#57705d}.idea-code-progress .idea-stages{margin:0;gap:12px}.idea-library-link{font-size:13px;color:#527b59;text-decoration:none;padding:8px 12px;grid-column:1/-1}.idea-art{margin:24px 0}.idea-art h2{font-size:14px;font-weight:500}.idea-art>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px}.idea-art figure{min-width:0;margin:0;border:1px solid #e2e9e1;border-radius:12px;overflow:hidden;background:#f7f9f4}.idea-art img,.idea-art figure>span{display:block;width:100%;height:110px;object-fit:contain;padding:8px}.idea-art figure>span{display:grid;place-items:center;font-size:12px;color:#789078}.idea-art figcaption{padding:8px 10px;background:#fff;font-size:12px;overflow-wrap:anywhere}.godot-web-player{margin:24px 0;border:1px solid #d9e3dc;border-radius:14px;overflow:hidden;background:#17251f;color:#fff}.godot-web-player header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px}.godot-web-player header button{border:1px solid #779489;border-radius:8px;padding:7px 12px;background:transparent;color:#fff;cursor:pointer}.godot-web-player iframe{display:block;width:100%;aspect-ratio:5/3;min-height:280px;border:0;background:#111}.godot-web-player p{padding:0 16px 12px;font-size:13px;color:#c5d7cb}.api-settings-page{background:#f7faf7;min-height:100vh;color:#293e39}.api-settings-top{display:flex;align-items:center;gap:24px;min-height:76px;padding:16px 5vw;border-bottom:1px solid #dbe5de;background:#fff}.api-settings-top>a,.api-settings-top>span{display:flex;align-items:center;gap:8px;text-decoration:none}.api-settings-top>span{margin-left:auto}.api-settings-top button{box-shadow:none}.api-settings-main{max-width:1320px;margin:0 auto;padding:48px 32px 64px}.api-settings-heading{margin-bottom:32px}.api-settings-heading h1{font-size:32px;letter-spacing:-.7px}.api-settings-heading p{margin-top:10px;color:#596d62;font-size:16px}.api-settings-layout{display:grid;grid-template-columns:190px minmax(330px,1fr) 250px;gap:24px;align-items:start}.api-role-nav{display:grid;gap:9px}.api-role-nav button{justify-content:flex-start;gap:13px;text-align:left;min-height:76px;padding:12px;border:1px solid transparent;box-shadow:none;background:transparent;border-radius:10px}.api-role-nav button[aria-current=page]{background:#e1eee5;border-color:#a3bfae;color:#245a40}.api-role-nav button span{display:grid;gap:4px}.api-role-nav small{font-size:12px}.api-role-nav>p{margin:15px 12px 0;font-size:12px;line-height:1.8;color:#596d62}.api-service-panel{background:#fff;border:1px solid #dbe5de;border-radius:14px;padding:28px}.api-service-heading{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:26px}.api-service-heading h2{font-size:23px}.api-service-heading p{color:#596d62;margin-top:8px;line-height:1.8}.api-key-state{font-size:11px;display:flex;align-items:center;gap:4px;white-space:nowrap;background:#edf5ef;padding:5px 8px;border-radius:5px;color:#32715b}.api-service-panel fieldset{border:0;margin:0;padding:0;min-width:0}.api-service-panel label{display:flex;align-items:center;justify-content:space-between;margin:19px 0 8px;font-size:14px;font-weight:600}.api-service-panel input:not([type=checkbox]),.api-service-panel select{width:100%;min-height:45px;border:1px solid #b7c7ba;border-radius:7px;background:#fff;padding:10px 12px}.api-service-panel label:first-child{margin-top:0}.api-service-panel input.api-timeout{max-width:150px}.api-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.api-service-panel .api-clear-key{justify-content:flex-start;font-weight:400;font-size:12px;margin-top:10px;gap:8px}.api-clear-key input{width:16px;height:16px;min-height:16px}.api-field-help{font-size:12px;color:#596d62;line-height:1.8;margin-top:9px;max-width:65ch}.api-form-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #e3ebe5;padding-top:24px;margin-top:26px}.api-settings-page button.api-primary{background:#32715b;color:#fff;border:1px solid #32715b;box-shadow:none;border-radius:7px;padding:10px 18px}.api-form-actions button{box-shadow:none;border-width:1px;border-radius:7px}.api-check-panel{padding:8px 0 20px 20px;border-left:2px solid #c4d9cd;overflow-wrap:anywhere}.api-check-panel h2{font-size:16px;margin-bottom:20px}.api-check-panel h3{font-size:15px;margin-top:18px}.api-check-panel p{margin-top:10px;font-size:13px;color:#596d62;line-height:1.9}.api-check-panel dl{font-size:12px;margin:20px 0}.api-check-panel dt{color:#596d62;margin-top:13px}.api-check-panel dd{margin:4px 0 0}.api-check-status{display:inline-block;padding:5px 9px;border-radius:5px;background:#edf2ef;font-size:12px}.api-check-status.status-passed{background:#d9efdf;color:#23593b}.api-check-status.status-failed,.api-check-status.status-interrupted{background:#fce8e1;color:#8c3727}.api-check-status.status-running{background:#fff0c9;color:#715315}.api-check-panel small{font-size:11px}.api-waiting{padding-top:10px;border-top:1px solid #dbe5de}.api-unlock{max-width:460px;background:#fff;padding:32px;border:1px solid #dbe5de;border-radius:14px}.api-unlock>svg{color:#32715b;margin-bottom:16px}.api-unlock p{margin:12px 0 24px;color:#596d62;line-height:1.9}.api-unlock label{margin-bottom:9px}.api-unlock input{width:100%;border-width:1px;border-radius:7px}.api-unlock button{margin-top:18px;width:100%}.api-settings-error,.api-settings-notice{margin-top:22px;padding:16px;border-radius:8px;line-height:1.8;overflow-wrap:anywhere}.api-settings-error{background:#fce8e1;color:#8c3727}.api-settings-notice{background:#e1eee5;color:#245a40}@media(max-width:1080px){.api-settings-layout{grid-template-columns:170px minmax(0,1fr)}.api-check-panel{grid-column:2;border-left:0;border-top:2px solid #c4d9cd;padding:20px 0}.api-check-panel dl{display:grid;grid-template-columns:120px 1fr;gap:8px}.api-check-panel dt,.api-check-panel dd{margin:0}}@media(max-width:640px){.api-settings-main{padding:28px 16px}.api-settings-heading h1{font-size:26px}.api-settings-top{padding:12px 16px;gap:10px;flex-wrap:wrap}.api-settings-top>span{font-size:12px}.api-settings-layout{display:block}.api-role-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:18px}.api-role-nav button{padding:8px;gap:5px;flex-direction:column;text-align:center}.api-role-nav button strong{font-size:12px}.api-role-nav small{font-size:10px}.api-role-nav>p{grid-column:1/-1;margin:8px 0}.api-service-panel{padding:20px 16px}.api-service-heading{display:block}.api-key-state{width:max-content;margin-top:10px}.api-field-pair{grid-template-columns:1fr}.api-check-panel{margin-top:24px}.api-unlock{padding:24px}.api-check-panel dl{display:block}.api-check-panel dt{margin-top:12px}}.art-library{min-height:100vh;background:#f7f9f4;color:#294439;font-family:Microsoft YaHei,system-ui,sans-serif}.art-library *,.art-dialog *{box-sizing:border-box}.art-library button,.art-library input,.art-library select,.art-dialog button,.art-dialog input{font:inherit}.art-library button,.art-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #d8e2d6;border-radius:10px;box-shadow:none;color:inherit;cursor:pointer}.art-library button:disabled,.art-dialog button:disabled{opacity:.5;cursor:default}.art-library a,.art-dialog a{color:#327354;text-decoration:none}.art-library :is(button,a,input,select):focus-visible,.art-dialog :is(button,a,input):focus-visible{outline:3px solid #80af90;outline-offset:3px}.art-header{display:flex;gap:24px;align-items:center;padding:20px 5%;border-bottom:1px solid #e1e9df;background:#fffefa}.art-header .art-brand{font-size:26px;font-weight:700}.art-header>a:last-child{margin-left:auto;font-size:13px}.art-library main{max-width:1320px;margin:auto;padding:42px 36px 60px}.art-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.art-heading span{color:#80977d;font-size:12px;letter-spacing:2px}.art-heading h1{margin:9px 0 12px;font-size:34px}.art-heading p{font-size:14px;color:#7d8c79;margin:0}.art-heading-actions{display:flex;gap:10px}.art-library .art-primary,.art-dialog .art-primary{background:#347654;color:#fff;border-color:#347654}.art-toolbar{display:flex;gap:12px;flex-wrap:wrap}.art-search{flex:1;min-width:220px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d8e2d6;border-radius:10px;padding:0 14px;color:#899c87}.art-search input{width:100%;min-width:0;padding:13px 0;border:0;background:transparent;outline:0;color:#294439}.art-toolbar select{border:1px solid #d8e2d6;border-radius:10px;padding:10px;background:#fff;color:#526c58}.art-toolbar button[aria-pressed=true]{background:#e7f0de;color:#477641}.art-summary{display:flex;justify-content:space-between;gap:12px;color:#85947f;font-size:12px;margin:20px 0}.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:20px}.art-tile{min-width:0;background:#fff;border:1px solid #e0e8dc;border-radius:16px;overflow:hidden;box-shadow:0 3px #edf1e7}.art-tile:hover{border-color:#aac5a5}.art-library .art-open{display:block;padding:0;width:100%;border:0;border-radius:0;text-align:left;background:none}.art-checker{background-color:#f4f6ef;background-image:linear-gradient(45deg,#e9eee3 25%,transparent 25%),linear-gradient(-45deg,#e9eee3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9eee3 75%),linear-gradient(-45deg,transparent 75%,#e9eee3 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.art-thumb{height:160px;padding:14px}.art-thumb img{width:100%;height:100%;object-fit:contain}.art-open strong{display:block;font-size:14px;padding:14px 14px 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.art-open>span{display:block;padding:0 14px;color:#8b9a84;font-size:11px}.art-tile-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 10px 14px}.art-tile-footer small{font-size:11px;color:#71896b}.art-tile-footer .art-star{border:0;padding:6px;background:transparent;color:#86a777}.art-more{margin:28px auto!important;display:flex!important}.art-empty{text-align:center;padding:70px 20px;color:#7a9472}.art-empty h2{font-size:20px}.art-empty p{font-size:14px;line-height:1.8}.art-error,.art-notice{padding:12px 16px;border-radius:10px;background:#fff0e7;color:#9a5936;font-size:13px;line-height:1.8}.art-notice{background:#eaf3e3;color:#4c7143}.art-dialog{padding:0;width:min(920px,calc(100vw - 32px));max-height:90vh;border:1px solid #c8d8bf;border-radius:18px;color:#294439;background:#fffefa;box-shadow:0 20px 80px #18302138}.art-dialog::backdrop{background:#18302170}.art-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #e0e8dc}.art-dialog h2{font-size:19px;margin:0}.art-dialog header button{border:0;background:transparent}.art-detail-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:24px}.art-detail-preview{border-radius:12px;min-height:320px;max-height:480px;display:flex;align-items:center;justify-content:center;padding:16px}.art-detail-preview img{max-width:100%;max-height:440px;object-fit:contain}.art-dialog form label{display:grid;gap:8px;font-size:13px;margin:16px 0}.art-dialog input:not([type=checkbox]){width:100%;min-width:0;padding:11px;border:1px solid #cbdcc4;border-radius:8px;background:#fff;color:inherit}.art-dialog .art-favorite-label{display:flex;align-items:center;gap:8px}.art-dialog small,.art-help,.art-facts{font-size:12px;color:#7c9074;line-height:1.7}.art-detail-actions{display:flex;gap:16px;align-items:center}.art-detail-actions a{display:flex;gap:6px;align-items:center;font-size:13px}.art-usage{border-top:1px solid #e1e9db;margin-top:24px;padding-top:10px;overflow-wrap:anywhere}.art-usage h3{font-size:14px}.art-usage p,.art-usage li{font-size:12px;line-height:1.8;color:#758c6c}.art-usage ul{padding-left:18px;max-height:150px;overflow:auto}@media(max-width:700px){.art-header{padding:14px 18px;gap:12px;flex-wrap:wrap}.art-header button{font-size:12px}.art-header .art-brand{font-size:21px}.art-header>a:last-child{font-size:12px}.art-library main{padding:28px 18px}.art-heading{align-items:flex-start;flex-direction:column;gap:20px}.art-heading h1{font-size:28px}.art-search{flex-basis:100%}.art-toolbar{gap:8px}.art-toolbar select,.art-toolbar button{font-size:12px}.art-summary{flex-direction:column;gap:6px}.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.art-thumb{height:125px;padding:10px}.art-tile-footer small{font-size:10px}.art-detail-body{grid-template-columns:minmax(0,1fr);padding:18px}.art-detail-preview{min-height:180px;max-height:240px}.art-detail-preview img{max-height:210px}}.creation-record-dialog{box-sizing:border-box;width:min(850px,calc(100vw - 24px));max-height:92vh;padding:24px;border:1px solid #cadac6;border-radius:20px;color:#29463c;background:#f4f5ed;font-family:Microsoft YaHei,sans-serif;overflow:auto}.creation-record-dialog::backdrop{background:#183e3466}.creation-record-dialog *{box-sizing:border-box}.creation-record-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.creation-record-toolbar p{font-size:13px;line-height:1.7;margin:0;max-width:350px}.creation-record-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.creation-record-toolbar button{font:inherit;font-size:13px;padding:10px 12px;border:1px solid #c1d2b8;border-radius:9px;background:#fff;color:#315b40;cursor:pointer}.creation-record-toolbar button:first-child{background:#477b58;color:#fff}.creation-record-next{display:grid;gap:8px;font-size:14px;margin:16px 0}.creation-record-next textarea{width:100%;font:inherit;line-height:1.7;padding:10px;border:1px solid #cbd9c4;border-radius:9px;resize:vertical}.creation-record-warning{color:#9b3f2c;font-size:14px}.creation-record-print-page{background:#fff;margin:auto}.creation-record-sheet{padding:24px;font-size:13px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.creation-record-sheet header{border-bottom:2px solid #477b58;padding-bottom:14px;margin-bottom:14px}.creation-record-sheet header>span{font-size:11px;letter-spacing:1px;color:#65755b}.creation-record-sheet h1{margin:6px 0;font-size:25px}.creation-record-sheet h2{margin:0;font-size:19px}.creation-record-sheet h3{font-size:15px;margin:14px 0 6px;color:#315b40}.creation-record-sheet p,.creation-record-sheet dl{margin:0}.creation-record-sheet dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);border-bottom:1px solid #e6ebdf;padding:6px 0;gap:12px}.creation-record-sheet dt{font-weight:600}.creation-record-sheet dd{margin:0}.creation-record-sheet dd strong{font-weight:400}.creation-record-sheet footer{margin-top:18px;padding-top:10px;border-top:1px solid #dbe3d4;font-size:11px;color:#63715c}.creation-record-sheet .record-caption{font-size:11px;color:#63715c}@media(max-width:600px){.creation-record-dialog{padding:14px}.creation-record-toolbar{display:block}.creation-record-toolbar>div{margin-top:12px}.creation-record-sheet{padding:16px}.creation-record-sheet dl>div{grid-template-columns:84px minmax(0,1fr);gap:8px}}@media print{@page{size:A4 portrait;margin:12mm}body:has(.creation-record-dialog[open]){margin:0!important;background:#fff!important}body:has(.creation-record-dialog[open])>*:not(.creation-record-dialog){display:none!important}.creation-record-dialog[open]{display:block!important;position:static!important;inset:auto!important;width:186mm!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important}.creation-record-dialog::backdrop{display:none}.creation-record-toolbar,.creation-record-next,.creation-record-warning{display:none!important}.creation-record-print-page{width:186mm;height:270mm;overflow:hidden;margin:0;break-inside:avoid}.creation-record-sheet{width:var(--record-content-width,186mm);padding:0;font-size:11pt;line-height:1.5;transform:scale(var(--record-scale,1));transform-origin:top left;color:#111}.creation-record-sheet header,.creation-record-sheet h3{color:#111}}.godot-workspace{max-width:1600px;margin:0 auto;padding:24px 32px 60px;color:#254c40}.gd-stages{display:flex;gap:12px;margin-bottom:24px}.gd-stages>button{display:flex;align-items:center;gap:16px;border:1px solid #dce5d6;background:#fffdf7;padding:14px 22px;min-width:200px;border-radius:18px;text-align:left;color:#567366}.gd-stages>button[aria-current]{background:#2e7056;color:#fff;border-color:#2e7056;box-shadow:0 6px 15px #2e705622}.gd-stages>button>span{border-radius:50%;padding:6px 12px;background:#f7ce67;color:#254c40;font-weight:700}.gd-stages strong{font-size:19px;flex:1}.gd-stages small{display:block;font-size:11px;margin-top:4px;letter-spacing:.05em;opacity:.8}.gd-layout{display:grid;grid-template-columns:190px minmax(360px,1fr) 330px;gap:20px;align-items:start}.gd-stage-prompt{grid-template-columns:minmax(0,1fr) 330px}.gd-main{min-width:0;border:1px solid #e0e7d9;border-radius:22px;overflow:hidden;background:#fffef9;box-shadow:0 12px 30px #284d3910}.gd-toolbar{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid #e4eadf;background:#fffefb}.gd-toolbar>div,.gd-button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.godot-workspace button{font:inherit;cursor:pointer}.godot-workspace button:disabled{opacity:.5;cursor:wait}.gd-toolbar button,.gd-button-row button,.gd-engine-panel>button{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce5d6;border-radius:10px;padding:9px 12px;background:#fffef9;color:#315e4c}.godot-workspace .gd-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#307458;border:0;color:#fff;border-radius:13px;padding:13px 20px;font-weight:600}.gd-preview-art{min-height:480px;aspect-ratio:5/3;position:relative;display:grid;place-items:center;overflow:hidden;background:#ecf2df}.gd-preview-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}.gd-preview-art>div{position:relative;max-width:85%;text-align:center;padding:32px 42px;background:#fffdf1ef;border:1px solid #fff;border-radius:24px;box-shadow:0 16px 50px #193e2820}.gd-preview-art h2{font-size:34px;margin:20px 0 12px}.gd-preview-art p{max-width:480px;line-height:1.7}.gd-preview-art small{display:block;margin-top:16px;color:#65786a}.gd-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:#eff3e3;color:#4c765c;border-radius:7px;font-size:12px}.gd-files{padding:18px 10px;border:1px solid #dfe7d7;border-radius:16px;background:#f3f6e9}.gd-files h3{display:flex;gap:8px;font-size:15px;padding:0 8px}.gd-files button{display:block;text-align:left;width:100%;background:transparent;border:0;padding:12px 10px;color:#315e4c;overflow-wrap:anywhere;border-radius:8px}.gd-files button[aria-pressed=true]{background:#deead7}.gd-files button small{display:block;color:#728774;font-size:11px;margin-top:5px}.gd-files details{font-size:12px;margin-top:15px}.gd-file-name{padding:13px 20px;background:#edf2e8;font:13px Consolas,monospace;display:flex;justify-content:space-between}.gd-editor{position:relative;background:#fafcf7}.gd-editor-caption{display:flex;justify-content:space-between;padding:8px 18px;color:#668474;font-size:11px;border-bottom:1px solid #e4ebdf}.gd-editor-surface{position:relative;height:520px}.gd-editor-surface pre,.gd-editor-surface textarea{position:absolute;inset:0;margin:0;padding:20px;width:100%;height:100%;box-sizing:border-box;border:0;font:14px/1.75 Consolas,Microsoft YaHei,monospace;tab-size:4;white-space:pre;overflow:auto;letter-spacing:0}.gd-editor-surface pre{pointer-events:none;color:#254c40}.gd-editor-surface textarea{background:transparent;color:transparent;caret-color:#254c40;resize:none;outline:none;-webkit-text-fill-color:transparent}.gd-editor-surface textarea::selection{background:#a4d3b766}.gd-keyword{color:#9b4580;font-weight:400}.gd-comment{color:#8a987e}.gd-string{color:#a9681e}.gd-number{color:#317ca4}.gd-completions{position:absolute;bottom:18px;left:25px;background:#fff;border:1px solid #cbdcc8;box-shadow:0 8px 25px #264b3022;padding:8px;border-radius:12px;max-height:260px;overflow:auto;z-index:3}.gd-completions button{display:block;border:0;background:none;padding:7px 14px;width:100%;text-align:left}.gd-completions button:hover{background:#edf4e5}.gd-assistant-card{padding:24px;border:1px solid #dce5d6;border-radius:20px;background:#fffdf5}.gd-assistant-card h2{font-size:24px;margin:18px 0 10px}.gd-assistant-card p{font-size:14px;color:#697e6f;line-height:1.8;white-space:pre-wrap}.gd-assistant-card textarea,.gd-lessons textarea{width:100%;min-height:125px;box-sizing:border-box;padding:14px;border:1px solid #cfdbc6;border-radius:12px;background:#fffefa;font:15px/1.7 inherit;resize:vertical}.gd-assistant-card>.gd-primary{width:100%;margin-top:12px}.gd-assistant-card .gd-button-row{margin-top:10px}.gd-proposal{margin-top:24px;border-top:1px solid #dce5d6;padding-top:12px}.gd-proposal details{margin:10px 0;border:1px solid #e0e7d9;border-radius:8px;padding:9px;font-size:12px}.gd-proposal pre{overflow:auto;max-height:240px;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px;font-size:11px}.gd-before{background:#ffeded}.gd-after{background:#e9f4e4}.gd-proposal>button{margin:8px 5px 0 0}.gd-engine-panel,.gd-lessons{padding:20px;border-top:1px solid #dfe7d7}.gd-engine-panel h3{display:flex;gap:8px}.gd-engine-panel label{display:flex;gap:8px;align-items:center;font-size:13px;margin:12px 0}.gd-engine-panel select{max-width:80%;padding:8px;border:1px solid #cdddc9;border-radius:8px;background:#fff}.gd-engine-panel input{width:75px;padding:8px;border:1px solid #cdddc9;border-radius:8px}.gd-engine-panel .gd-button-row{margin-top:10px}.gd-lessons summary{display:flex;align-items:center;gap:8px;cursor:pointer}.gd-lesson-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.gd-lesson-tabs button{border:1px solid #dce5d6;background:#f4f7eb;padding:8px;border-radius:8px;color:#456b53}.gd-lesson-tabs button[aria-pressed=true]{background:#dcebd4}.gd-lessons p{line-height:1.8}.gd-lessons label{font-size:14px;display:block}.gd-lessons textarea{margin-top:8px;min-height:80px}.gd-errors{padding:16px;background:#fff0e7;color:#904320}.gd-errors button{display:block;border:0;background:none;text-align:left;color:inherit;padding:8px 0;font-size:12px;overflow-wrap:anywhere}.gd-main .game-assets{margin:0;padding:20px;border-radius:0;box-shadow:none;border-width:1px 0 0}.gd-main .asset-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr))}@media(max-width:1200px){.gd-layout{grid-template-columns:150px minmax(300px,1fr) 290px;gap:12px}.gd-stage-prompt{grid-template-columns:minmax(0,1fr) 300px}.godot-workspace{padding:20px}.gd-assistant-card{padding:18px}}@media(max-width:960px){.gd-layout{grid-template-columns:150px minmax(0,1fr)}.gd-assistant{grid-column:1/-1}.gd-stage-prompt{grid-template-columns:1fr}.gd-stages>button{min-width:0;flex:1;padding:12px;gap:9px}.gd-stages>button>svg{display:none}.gd-preview-art{min-height:350px}}@media(max-width:600px){.godot-workspace{padding:12px}.gd-stages{gap:7px}.gd-stages strong{font-size:16px}.gd-stages small{font-size:9px}.gd-stages>button>span{display:none}.gd-layout{display:flex;flex-direction:column}.gd-main,.gd-assistant{width:100%}.gd-files{box-sizing:border-box;width:100%;display:flex;flex-wrap:wrap;gap:5px}.gd-files h3{width:100%}.gd-files>button{width:auto}.gd-files details{width:100%}.gd-preview-art{min-height:320px}.gd-preview-art>div{padding:20px}.gd-preview-art h2{font-size:25px}.gd-toolbar{padding:10px}.gd-toolbar button{font-size:12px;padding:8px}.gd-editor-surface{height:440px}}.creation-app{min-height:100vh;background:#faf9f4;color:#29463c;font-family:Microsoft YaHei,sans-serif}.creation-app .topbar{height:82px;padding:0 5%;background:#fffdf8;border-bottom:1px solid #e7e8df}.creation-brand{display:flex;align-items:center;gap:12px;border:0!important;background:transparent!important}.creation-brand>span{font-size:42px;color:#4c8a68}.creation-brand strong{font-size:29px}.creation-brand strong span{color:#e5ac4f}.creation-brand small{font-size:14px;color:#718276}.creation-home{max-width:1160px;margin:0 auto;padding:60px 28px}.creation-welcome h1{font-size:38px;letter-spacing:1px;margin:18px 0 40px}.creation-welcome .eyebrow{display:flex;gap:8px;color:#6b8773}.game-type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,340px));gap:26px}.game-type-card{text-align:left!important;background:#fff!important;border:2px solid #d5e5d3!important;border-radius:26px!important;padding:26px!important;display:flex;flex-direction:column;align-items:stretch;box-shadow:0 8px #edf0e5;transition:transform .15s}.game-type-card:hover{transform:translateY(-4px)}.game-type-illustration{background:linear-gradient(140deg,#f1f9da,#e4f2ed);height:180px;border-radius:18px;text-align:center;font-size:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}.game-type-illustration span{font-size:64px}.game-type-card>strong{font-size:25px;margin-top:24px}.game-type-card>p{font-size:14px;color:#758577;line-height:1.6}.choose-card{font-size:15px;color:#437455;margin-top:14px}.my-games{margin-top:66px}.my-games h2{font-size:23px}.saved-game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.saved-game-grid button{padding:20px;background:#fff;border:1px solid #e0e6dc;border-radius:18px;display:flex;flex-direction:column;gap:12px;text-align:left}.saved-game-grid button>span{font-size:32px}.saved-game-grid small{color:#859183}.new-game-card{max-width:860px;margin:30px auto 70px;padding:0 24px}.new-game-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}.new-game-heading>span{font-size:40px}.new-game-heading h1{font-size:27px}.creation-app .child-card{border:2px solid #dae6d7;border-radius:24px;padding:26px;background:#fffefa;box-shadow:0 7px #edf0e5}.child-card .panel-title{padding:0 0 20px;border:0}.child-card .panel-title h2{font-size:23px;display:flex;align-items:center;gap:12px}.child-card .card-fields{gap:19px}.new-game-card .card-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.child-card .card-field b{font-size:16px;display:flex;align-items:center;gap:8px}.child-card .card-field i{font-style:normal;background:#e6f1dc;width:25px;height:25px;border-radius:9px;text-align:center;line-height:25px;font-size:13px;color:#4c6d4c}.child-card .card-field em{color:#a87348;font-style:normal;background:none}.child-card input,.child-card select,.child-card textarea{font:inherit;font-size:15px;border:1px solid #d8e0d2;border-radius:11px;padding:12px;width:100%;background:#fff}.child-card input:focus,.child-card textarea:focus{outline:3px solid #d9eacd;border-color:#7ea16b}.child-card input[aria-invalid=true]{border-color:#c26854}.child-card .card-field small{font-size:12px;line-height:1.6;color:#7c8777}.child-card .card-field .error{color:#b34d3a}.card-appearance{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:28px}.card-appearance label{display:flex;flex-direction:column;gap:8px;font-size:14px}.child-card .generate-button{width:100%;margin-top:25px;border:0;background:#477b58;color:#fff;border-radius:13px;min-height:50px;font-size:17px;display:flex;align-items:center;justify-content:center;gap:8px}.child-card .generate-button:disabled{opacity:.55}.card-type-switch{display:flex;gap:8px;margin-bottom:24px}.card-type-switch button{flex:1;border:1px solid #dbe3d5;border-radius:10px;background:#fff;padding:10px}.card-type-switch button[aria-pressed=true]{background:#e5f0da;color:#3e6b43;border-color:#b9d1ab}.generation-state{display:flex;align-items:center;gap:10px;background:#eef4e8;padding:14px;border-radius:12px;margin-top:24px}.generation-state button{margin-left:auto;background:#fff;border:1px solid #d7e1ce;border-radius:8px;padding:6px 14px}.generating-dot{width:10px;height:10px;border-radius:50%;background:#6e9a62;animation:softPulse 1.3s infinite alternate}@keyframes softPulse{to{opacity:.25}}.card-questions{display:block;margin-top:20px;background:#fff4d9;border-radius:12px;padding:15px;font-size:15px}.game-title-row{padding:24px 3% 10px}.game-title-row input{font-size:24px;font-weight:700;border:1px solid transparent;background:transparent;color:#29463c;width:min(500px,100%);border-radius:8px;padding:6px}.game-title-row input:focus{border-color:#a8c698;outline:none}.creation-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;padding:12px 3% 40px;align-items:start}.game-main,.game-card-sidebar{min-width:0}.game-card-sidebar .child-card{padding:22px}.workspace-tabs{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #e0e6d9;border-bottom:0;border-radius:18px 18px 0 0}.workspace-tabs>button{border:0;background:transparent;border-radius:9px;padding:10px 20px;font-size:16px}.workspace-tabs>button[aria-selected=true]{background:#e8f0dd;color:#416e48}.workspace-tabs .save-code{margin-left:auto;font-size:13px;border:1px solid #d4deca}.workspace-tabs>span{font-size:12px;color:#98764e}.creation-app .code-preview{background:#fff;border:1px solid #e0e6d9;border-top:0;border-radius:0 0 18px 18px;overflow:hidden}.preview-toolbar{display:flex;align-items:center;gap:8px;padding:10px 14px}.preview-toolbar>span{font-size:12px;color:#7c8777;margin-right:auto}.preview-toolbar button{white-space:nowrap;padding:6px 9px;border:1px solid #d8e3ce;border-radius:8px;background:#fff;font-size:12px}.creation-app .code-preview-frame{display:block;width:100%;height:auto;aspect-ratio:960/576;border:0;background:#eaf3e3;min-height:0}.code-preview-empty{min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.manual-code{background:#20302b;border-radius:0 0 16px 16px;padding:14px;color:#d9e8dc}.manual-code label{display:flex;align-items:center;gap:12px;font-size:13px}.manual-code select{padding:7px;background:#f3f7ee;border-radius:7px}.manual-code textarea{display:block;width:100%;min-height:510px;resize:vertical;margin-top:12px;padding:12px;border:0;outline:none;background:#1a2823;color:#e0efdf;font:13px/1.7 Consolas,monospace;tab-size:2;border-radius:8px}.game-assets,.game-parameters{background:#fff;border:1px solid #dfe6d8;border-radius:16px;margin-top:18px;padding:16px}.game-assets summary,.game-parameters summary{cursor:pointer;font-size:15px}.game-assets summary span{color:#839078;margin-left:8px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;margin-top:20px}.asset-grid article{display:flex;flex-direction:column;gap:9px;align-items:center;border-radius:10px;background:#f7f9f1;padding:10px}.asset-grid img{width:100%;height:95px;object-fit:contain}.asset-grid audio{width:100%;height:36px}.asset-grid span{font-size:12px}.game-parameters>div{display:flex;gap:18px;flex-wrap:wrap;padding-top:18px}.game-parameters label{display:flex;flex-direction:column;gap:8px;font-size:13px}.game-parameters input{padding:9px;border:1px solid #d9e3d2;border-radius:8px;width:110px}.creation-app .export-menu a{display:block;padding:10px;color:#3e6849;white-space:nowrap}.creation-app .error{color:#b1503c;line-height:1.6}@media(min-width:1600px){.creation-workspace{grid-template-columns:minmax(0,1fr) 390px;max-width:1750px;margin:auto}.creation-app .code-preview-frame{max-height:740px}}@media(max-width:1050px){.creation-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:14px;padding:12px 16px}.game-card-sidebar .child-card{padding:16px}.preview-toolbar>span{max-width:160px}}@media(max-width:760px){.creation-brand small{display:none}.creation-workspace{grid-template-columns:1fr}.creation-welcome h1{font-size:29px}.new-game-card .card-fields{grid-template-columns:1fr}.creation-app .topbar{padding:0 16px;height:68px}.creation-home{padding:32px 20px}.game-title-row{padding-left:16px}.new-game-card{padding:0 16px}.creation-app .child-card{padding:20px}.preview-toolbar{flex-wrap:wrap}.preview-toolbar>span{max-width:none}.workspace-tabs>span{display:none}}@media(prefers-reduced-motion:reduce){.generating-dot{animation:none}.game-type-card{transition:none}}.child-card .card-field>label{display:flex;align-items:center;justify-content:space-between;gap:8px}.child-card .card-suggestions{display:flex;flex-wrap:wrap;gap:6px}.child-card .card-suggestions button{font:inherit;font-size:12px;line-height:1.5;padding:6px 9px;border:1px solid #cad9bc;border-radius:14px;background:#f2f7e9;color:#3e6545;text-align:left;cursor:pointer}.child-card .card-suggestions button:hover{background:#e3efd6}.child-card .card-suggestions button:disabled{opacity:.5;cursor:wait}.child-card .playtest-notes{margin:0 0 22px;padding:15px;border:1px solid #d7e3c9;border-radius:14px;background:#f4f8ec}.child-card .playtest-notes h3{font-size:17px;margin:0 0 6px}.child-card .playtest-notes p{font-size:13px;line-height:1.7;margin:5px 0 10px}.child-card .playtest-notes label{display:grid;gap:6px;font-size:14px;margin:12px 0}.child-card .playtest-notes textarea{min-height:64px;resize:vertical;font-size:14px;line-height:1.6}.child-card .playtest-notes>button{border:1px solid #b6cea4;border-radius:9px;padding:9px 13px;background:#fff;color:#385e3e;font:inherit;font-size:14px;cursor:pointer}.child-card .playtest-notes>button:disabled{opacity:.5;cursor:default}.child-card .playtest-notes>small{display:block;font-size:12px;line-height:1.7;margin-top:8px;color:#607453}.creation-app .creation-record-open{white-space:nowrap}.home-idea-link{display:flex;align-items:center;gap:10px;color:#326f52;text-decoration:none;font-size:16px;margin-top:20px}.home-idea-link span{font-size:12px;color:#748475}@media(max-width:760px){.creation-app.workshop-a .topbar{height:auto;min-height:68px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;gap:10px}.creation-app.workshop-a .header-actions{flex-wrap:wrap}}.restored-home{max-width:1240px;padding-top:30px}.restored-home .home-intro{padding:25px 0 62px}.restored-home .eyebrow{font-size:12px;letter-spacing:2px;color:#789388}.home-design-button{margin-top:20px;padding:16px 22px!important;min-width:245px;background:#2d7865!important;color:#fffdf2!important;border:0!important;border-radius:14px!important;font-size:18px;display:inline-flex;gap:14px;align-items:center;box-shadow:0 5px #1d5449!important}.home-design-button span{margin-left:auto}.home-section-heading{display:flex;align-items:center;gap:20px;margin:12px 0 24px}.home-section-heading h2{margin:0;font-size:24px}.home-section-heading>span{font-size:14px;color:#809185}.restored-home .game-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.restored-home .game-type-card{padding:15px!important;border-width:1px!important;overflow:hidden;border-radius:19px!important}.restored-home .game-type-card>strong,.restored-home .game-type-card>p,.restored-home .game-type-card>.choose-card{margin-left:10px;margin-right:10px}.restored-home .game-type-card>strong{margin-top:20px}.game-type-illustration .template-sketch{width:85%;height:150px;color:#446755}.game-type-illustration.illustration-platform{background:#e3eef2}.game-type-illustration.illustration-pacman{background:#f1e4ee}.restored-home .choose-card{padding-bottom:10px}.restored-home .saved-game-grid button{padding:0 0 20px;overflow:hidden;gap:12px}.restored-home .saved-game-grid strong,.restored-home .saved-game-grid small{margin:0 20px}.saved-game-art{width:100%;height:118px;display:grid;place-items:center;background:repeating-linear-gradient(45deg,#eef1e2,#eef1e2 18px,#e9eedc 18px 36px);color:#7e9d76}.home-empty{padding:35px;border:1px dashed #cad9c5;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:16px;color:#748671}.header-actions>a{color:#526d60;text-decoration:none;font-size:14px;padding:8px}.card-rules{padding:13px 16px;border-radius:12px;background:#edf4e7;line-height:1.8;font-size:14px;margin:0 0 22px}.code-preview{background:#edf1e9;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px #263d3110}.creation-app .preview-toolbar{background:#fffefa;border-bottom:1px solid #e1e7da;min-height:60px;gap:10px;padding:12px 18px}.preview-toolbar>span{font-size:13px;line-height:1.6;flex:1;color:#687b6d}.preview-toolbar button{white-space:nowrap;border-radius:10px!important;font-size:13px}.code-preview:fullscreen{border-radius:0;width:100vw;height:100vh;display:flex;flex-direction:column;background:#152d26}.code-preview:fullscreen .code-preview-frame{flex:1;min-height:0;width:100%;height:100%;aspect-ratio:auto;border:0}.code-preview:fullscreen .preview-toolbar{flex-shrink:0}.creation-app .code-preview-frame{border:0;display:block;width:100%;aspect-ratio:5/3}@media(max-width:760px){.restored-home .game-type-grid{grid-template-columns:1fr}.restored-home .home-intro{padding:0 0 36px}.restored-home .home-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.restored-home .game-type-illustration{height:160px}.creation-app .topbar{height:auto;min-height:82px;flex-wrap:wrap;padding:16px 20px;gap:15px}.creation-brand small{display:none}.header-actions,.preview-toolbar{flex-wrap:wrap}.preview-toolbar>span{flex-basis:100%}}.material-intro{font-size:15px;color:#718372;margin-top:0}.material-theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.material-theme-grid button{display:flex;flex-direction:column;align-items:stretch;padding:7px;border-radius:14px;border:2px solid #e0e6d8;background:#fff;gap:9px}.material-theme-grid button[aria-pressed=true]{border-color:#4e8b67;background:#edf5e5}.material-theme-grid img{width:100%;aspect-ratio:5/3;object-fit:cover;border-radius:8px}.material-theme-grid strong{font-size:14px}.material-theme-grid span{font-size:12px;color:#66876b}.selected-materials{margin:26px 0}.selected-materials h3{font-size:18px}.selected-materials>div{display:grid;grid-template-columns:repeat(3,1fr) 1.6fr;gap:12px}.selected-materials figure{margin:0;padding:14px 8px;text-align:center;background:#f5f6ed;border-radius:14px}.selected-materials img{height:100px;width:100%;object-fit:contain}.selected-materials .material-background img{object-fit:cover;border-radius:8px}.selected-materials figcaption{font-size:13px;margin-top:10px}.material-actions{display:flex;align-items:center;gap:20px}.material-actions .generate-button{flex:1}.material-picker .generation-state{min-height:58px}@media(max-width:600px){.material-theme-grid{grid-template-columns:repeat(2,1fr)}.selected-materials>div{grid-template-columns:repeat(2,1fr)}}.card-appearance textarea{width:100%;min-height:90px;resize:vertical;padding:12px;border:1px solid #d6e2d0;border-radius:12px;font:inherit}.card-appearance small{color:#718372;font-size:13px}.material-adjustment{display:grid;gap:8px;margin-top:10px}.material-adjustment textarea{width:100%;min-height:90px;resize:vertical;font:inherit;padding:8px;border:1px solid #d6e2d0;border-radius:8px}.selected-materials figure>button{margin-top:10px}.selected-materials>div{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.material-placeholder{height:100px;display:grid;place-items:center;border:1px dashed #c8d5c0;border-radius:8px;color:#718372;font-size:13px}.material-image-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}.material-image-actions button{font-size:13px;padding:7px 10px}.selected-materials figure>small{display:block;margin-top:6px;color:#718372;font-size:12px}.workshop-a{--ink:#244e3e;--muted:#718176;--green:#2d7055;--line:#e4e8dc;--paper:#fffef9;background:#f8f8f0;color:var(--ink)}.workshop-a [hidden]{display:none!important}.workshop-a button{border-radius:10px;box-shadow:none;transition:background .16s,box-shadow .16s,transform .16s}.workshop-a button:active:not(:disabled){transform:translateY(1px)}.workshop-a :is(button,input,textarea,select,summary,a):focus-visible{outline:3px solid #d2a446;outline-offset:3px}.workshop-a .topbar{height:82px;padding:0 32px;gap:22px;background:#fffefa;border-bottom:1px solid var(--line);box-shadow:none}.workshop-a .creation-brand{gap:8px;padding:0;flex:none}.workshop-a .creation-brand>span{font-size:42px;line-height:1;color:#2d7055}.workshop-a .creation-brand strong{font-size:30px;letter-spacing:-1.5px}.workshop-a .creation-brand small{display:none}.workshop-a .workshop-home{border:0;border-left:1px solid var(--line);border-radius:0;padding:6px 0 6px 22px;background:none;font-size:14px;color:#607568;white-space:nowrap;min-width:0}.workshop-a .workshop-title{display:flex;gap:8px;min-width:0;max-width:420px;flex:1}.workshop-a .workshop-title input{background:none;border:1px solid transparent;border-radius:8px;color:var(--ink);font-size:20px;font-weight:750;width:100%;padding:6px 8px;min-width:0}.workshop-a .workshop-title input:focus{background:#fff;border-color:var(--line)}.workshop-a .workshop-title svg{color:#789384;flex:none}.workshop-a .header-actions{margin-left:auto;gap:12px;flex:none}.workshop-a .header-actions>button{border:0;background:none;font-size:13px;color:#607568;padding:7px 10px}.workshop-a .export-menu{position:relative;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:0}.workshop-a .export-menu summary{padding:5px 12px;font-size:13px}.workshop-a .export-menu[open]{z-index:30}.workshop-a .export-menu a{background:var(--paper);border:1px solid var(--line);position:absolute;right:-1px;top:100%;min-width:150px}.workshop-a .export-menu a+a{top:calc(100% + 43px);border-radius:0 0 10px 10px}.workshop-a .creation-workspace{max-width:1680px;margin:auto;padding:28px 32px 40px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}.workshop-a .workshop-game-shell{border:1px solid #e5eadb;border-radius:22px;overflow:hidden;background:#edf2e6;box-shadow:0 8px 28px #254d3810;min-width:0}.workshop-a .workshop-toolbar{min-height:70px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.workshop-a .workspace-tabs{padding:4px;gap:0;background:#ffffff90;border:1px solid #d8e0ce;border-radius:12px;flex:none}.workshop-a .workspace-tabs>button{display:flex;gap:7px;font-size:14px;font-weight:750;padding:6px 18px;min-height:36px;border:0;background:none;border-radius:9px}.workshop-a .workspace-tabs>button[aria-selected=true]{background:#2d7055;color:#fff;box-shadow:0 3px 7px #214e3320}.workshop-a .workshop-tools{display:flex;gap:3px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.workshop-a .workshop-tools button{gap:7px;padding:8px 10px;min-height:36px;font-size:13px;border:0;background:none;color:var(--ink);white-space:nowrap}.workshop-a .workshop-tools button:hover:not(:disabled){background:#ffffffb0}.workshop-a .workshop-tools .save-code{background:#fffef9;border:1px solid #d8e0ce}.workshop-a .unsaved-dot{width:7px;height:7px;border-radius:50%;background:#c2943f;margin:0 5px}.workshop-a .code-preview{position:relative;border:0;border-radius:0;background:#eaf3e3;box-shadow:none}.workshop-a .code-preview-frame{display:block;width:100%;height:auto;max-height:none;min-height:0;aspect-ratio:5/3;border:0;border-radius:0}.workshop-a .workshop-game-foot{min-height:53px;padding:13px 20px;display:flex;align-items:center;gap:12px;color:#647861;font-size:12px;line-height:1.7}.workshop-a .workshop-game-foot svg{flex:none;color:#708567}.workshop-a .workshop-game-foot span{overflow-wrap:anywhere}.workshop-a .preview-loading,.workshop-a .preview-pause{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:18px;z-index:2;background:#eef2e8;color:#617860}.workshop-a .preview-pause{background:#22463855;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.workshop-a .workshop-spinner{width:25px;height:25px;border-radius:50%;border:3px solid #d5e1ca;border-top-color:#2d7055;animation:workshop-spin .8s linear infinite}@keyframes workshop-spin{to{transform:rotate(360deg)}}.workshop-a .workshop-pause-card{background:#fffdf4;border:1px solid #e4e8d5;border-radius:28px;box-shadow:0 18px 40px #1d463b30;width:min(420px,90%);padding:28px 32px;text-align:center;color:var(--ink)}.workshop-a .pause-symbol{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#fae18b;color:#9a791f;border:4px solid #fff0b2;margin:0 auto 16px;box-shadow:0 3px #b69a4555}.workshop-a .workshop-pause-card small{font-size:12px;color:#819074;letter-spacing:2px}.workshop-a .workshop-pause-card h2{font-size:28px;margin:8px 0 12px}.workshop-a .workshop-pause-card p{font-size:14px;color:#7c8974;margin:0 0 24px}.workshop-a .workshop-pause-card button{width:100%;padding:12px;min-height:50px;border:0;background:#2d7055;color:#fff;font-weight:700;border-radius:13px;box-shadow:0 4px #20513f}.workshop-a .workshop-pause-card .pause-restart{background:none;color:#77886d;box-shadow:none;min-height:30px;font-size:12px;font-weight:400;padding:8px;margin-top:9px}.workshop-a .manual-code{padding:0;border-radius:0;background:#1e332b}.workshop-a .manual-code>label{padding:12px 20px;background:#294237;border-bottom:1px solid #3a5145;color:#dce8da}.workshop-a .manual-code select{min-width:0;max-width:70%;background:#1f372b;color:#e1eada;border:1px solid #506557;border-radius:8px;font-size:12px;min-height:33px}.workshop-a .manual-code label>span{margin-left:auto;font-size:11px;color:#abc0ae}.workshop-a .manual-code textarea{margin:0;padding:24px;min-height:540px;border:0;border-radius:0;background:#1e332b;color:#dfecd6;font:14px/1.9 Consolas,Microsoft YaHei,monospace;white-space:pre;overflow:auto;tab-size:2}.workshop-a .game-assets,.workshop-a .game-parameters{margin-top:16px;border:1px solid var(--line);border-radius:16px;padding:0;background:var(--paper);box-shadow:0 4px 16px #254d3804}.workshop-a .game-assets summary,.workshop-a .game-parameters summary{padding:14px 20px;gap:10px;font-weight:650;font-size:14px}.workshop-a .game-assets summary span{font-size:12px;font-weight:400;color:#86977f}.workshop-a .asset-grid{margin:0;padding:0 18px 18px;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px}.workshop-a .asset-grid article{background:#f1f3e8;border-radius:11px;padding:12px;min-width:0}.workshop-a .asset-grid img{height:85px;object-fit:contain}.workshop-a .asset-grid span{color:#70816d;font-size:12px;overflow-wrap:anywhere;text-align:center}.workshop-a .game-parameters>div{padding:0 20px 20px}.workshop-a .game-card-sidebar{position:sticky;top:20px;min-width:0}.workshop-a .game-card-sidebar .child-card{padding:25px 24px 24px;border:1px solid var(--line);border-radius:22px;background:var(--paper);box-shadow:0 8px 28px #254d3810}.workshop-a .creator-heading{display:flex;align-items:center;gap:12px;margin-bottom:25px}.workshop-a .creator-pencil{display:grid;place-items:center;width:42px;height:48px;background:#edf2dc;border-radius:13px;transform:rotate(-7deg);color:#5d8345}.workshop-a .creator-heading h2{font-size:23px;margin:0;line-height:1.4;color:var(--ink)}.workshop-a .creator-heading small{font-size:11px;letter-spacing:2px;color:#869778}.workshop-a .creator-star{margin-left:auto;color:#d5b34c;font-size:22px}.workshop-a .card-type-switch{padding:4px;gap:4px;background:#edf2e7;border:1px solid #dce5d2;border-radius:12px;margin-bottom:28px}.workshop-a .card-type-switch button{min-width:0;gap:6px;font-size:14px;font-weight:650;padding:9px 4px;min-height:41px;border:0;background:none;border-radius:9px}.workshop-a .card-type-switch button[aria-pressed=true]{color:#fff;background:#2d7055;box-shadow:0 3px 7px #214e3320}.workshop-a .card-fields{display:flex;flex-direction:column;gap:24px}.workshop-a .card-field{display:flex;flex-direction:column;align-items:stretch;gap:9px;border:0;border-radius:0;background:none;padding:0;box-shadow:none}.workshop-a .card-field>span{display:flex;align-items:center;justify-content:space-between;gap:6px}.workshop-a .card-field b{font-size:14px;font-weight:650;line-height:1.7}.workshop-a .card-field i{display:none}.workshop-a .card-field em{font-size:12px;color:#b5b9a5}.workshop-a .card-field input,.workshop-a .card-field textarea{font-size:14px;border:1px solid #dde4d7;border-radius:12px;padding:13px 14px;background:#fff;line-height:1.7;color:#52685b;box-shadow:inset 0 1px 3px #254d3803}.workshop-a .card-field textarea{min-height:126px;resize:vertical}.workshop-a .card-field small{font-size:12px;line-height:1.6;color:#82907a}.workshop-a .child-card .generate-button{margin-top:28px;background:#2d7055;color:#fff;border:0;border-radius:13px;min-height:52px;font-size:15px;font-weight:750;box-shadow:0 4px #20513f,0 7px 13px #254d3814}.workshop-a .child-card .generate-button:hover:not(:disabled){background:#265f49}.workshop-a .error-banner{margin:14px 32px 0;border-radius:12px}.workshop-a .workshop-game-shell:fullscreen{width:100vw;height:100dvh;max-width:none;border:0;border-radius:0;background:#19392d;display:flex;flex-direction:column;justify-content:center}.workshop-a .workshop-game-shell:fullscreen .workshop-toolbar{flex:none;background:#eef3e6;min-height:62px}.workshop-a .workshop-game-shell:fullscreen #workspace-play{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center}.workshop-a .workshop-game-shell:fullscreen .code-preview{width:min(100vw,calc((100dvh - 122px)*5/3));margin:auto}.workshop-a .workshop-game-shell:fullscreen .workshop-game-foot{background:#eef3e6;flex:none;min-height:48px}.workshop-a .workshop-game-shell:fullscreen .manual-code{flex:1;min-height:0;display:flex;flex-direction:column}.workshop-a .workshop-game-shell:fullscreen .manual-code textarea{flex:1;min-height:0;resize:none}@media(max-width:1150px){.workshop-a .creation-workspace{grid-template-columns:minmax(0,1fr) 292px;gap:20px;padding:24px}.workshop-a .topbar{padding:0 24px;gap:14px}.workshop-a .workshop-tools button{padding:8px}.workshop-a .workshop-tools button span{display:none}.workshop-a .game-card-sidebar .child-card{padding:22px 20px}.workshop-a .workshop-title{max-width:300px}}@media(max-width:930px){.workshop-a .creation-workspace{grid-template-columns:1fr;max-width:900px;gap:24px}.workshop-a .game-card-sidebar{position:static}.workshop-a .game-card-sidebar .child-card{max-width:none}.workshop-a .card-fields{display:grid;grid-template-columns:1fr 1fr;align-items:start}.workshop-a .workshop-tools button span{display:inline}.workshop-a .creator-heading{margin-bottom:18px}.workshop-a .card-type-switch{max-width:340px}.workshop-a .header-actions{gap:5px}.workshop-a .workshop-home{padding-left:14px}.workshop-a .workshop-home span{display:none}}@media(max-width:600px){.workshop-a .topbar{height:auto;min-height:74px;flex-wrap:wrap;padding:12px 16px;gap:8px}.workshop-a .creation-brand strong{font-size:24px}.workshop-a .creation-brand>span{font-size:32px}.workshop-a .workshop-title{max-width:none;flex:1}.workshop-a .workshop-title input{font-size:16px;padding:4px;min-height:35px}.workshop-a .workshop-title svg{width:14px}.workshop-a .workshop-home{padding:4px 7px;border:0}.workshop-a .header-actions{width:100%;justify-content:flex-end;gap:8px}.workshop-a .header-actions>button{padding:3px 8px;min-height:30px;font-size:12px}.workshop-a .export-menu summary{min-height:30px;font-size:12px;padding:3px 10px}.workshop-a .creation-workspace{padding:16px 12px 30px;gap:20px}.workshop-a .workshop-game-shell{border-radius:16px}.workshop-a .workshop-toolbar{min-height:59px;padding:9px;gap:3px}.workshop-a .workspace-tabs{padding:3px}.workshop-a .workspace-tabs>button{font-size:12px;padding:6px 9px;gap:4px;min-height:32px}.workshop-a .workshop-tools{gap:0}.workshop-a .workshop-tools button{padding:7px;min-height:32px}.workshop-a .workshop-tools button span{display:none}.workshop-a .workshop-game-foot{padding:9px 12px;min-height:42px;font-size:11px;gap:8px}.workshop-a .card-fields{display:flex}.workshop-a .game-card-sidebar .child-card{padding:22px;border-radius:19px}.workshop-a .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 14px}.workshop-a .manual-code textarea{min-height:400px;padding:18px;font-size:12px}.workshop-a .manual-code>label{padding:10px 14px}.workshop-a .manual-code label>span{display:none}.workshop-a .pause-symbol{display:none}.workshop-a .workshop-pause-card{padding:10px 20px;border-radius:19px;max-height:100%;overflow:auto}.workshop-a .workshop-pause-card h2{font-size:22px;margin:4px 0 6px}.workshop-a .workshop-pause-card p{font-size:11px;margin-bottom:10px}.workshop-a .workshop-pause-card small{font-size:10px}.workshop-a .workshop-pause-card button{min-height:35px;padding:7px;font-size:13px;border-radius:9px}.workshop-a .workshop-pause-card .pause-restart{min-height:22px;margin-top:3px;padding:2px}.workshop-a .error-banner{margin:12px}.workshop-a .preview-loading{font-size:12px}}@media(prefers-reduced-motion:reduce){.workshop-a *{animation:none!important;transition:none!important}}
