html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--brand: #f57c00;--brand-hover: #ff9800;--brand-active: #e65100;--brand-soft: #fff3e0;--panel-border: #e8eaee;--canvas-bg: #eef0f3;--text-1: #1f2329;--text-2: #646a73;--text-3: #9aa0a6;--toolbar-height: 60px;--left-width: 240px;--right-width: 300px;--scrollbar-size: 10px;--scrollbar-gap: 12px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}#root>.ant-app{height:100%;min-height:0}body{font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:13px;color:var(--text-1);background:#f5f6f8;overflow:hidden}.app-shell{display:flex;flex-direction:column;height:100%}.app-toolbar{flex:0 0 var(--toolbar-height);height:var(--toolbar-height);display:flex;align-items:center;gap:12px;padding:0 16px;background:#fff;border-bottom:1px solid var(--panel-border)}.app-brand{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--text-1);white-space:nowrap}.app-brand-logo{display:block;width:22px;height:22px;filter:drop-shadow(0 1px 3px rgba(0,193,252,.28));transition:transform .25s ease}.app-brand:hover .app-brand-logo{transform:rotate(-8deg) scale(1.08)}.app-toolbar-ad{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.app-toolbar-ad.is-hidden>*{display:none}.app-toolbar-ad-ins{flex:0 0 auto;border:0}.toolbar-zoom{min-width:52px;text-align:center;font-size:12px;color:var(--text-2);font-variant-numeric:tabular-nums}.app-body{flex:1 1 auto;display:flex;min-height:0;overflow:hidden}.app-panel{display:flex;flex-direction:column;min-height:0;background:#fff;overflow:hidden}.app-panel-left{flex:0 0 var(--left-width);width:var(--left-width);border-right:1px solid var(--panel-border)}.app-panel-right{flex:0 0 var(--right-width);width:var(--right-width);border-left:1px solid var(--panel-border)}.panel-section{padding:12px}.panel-title{margin-bottom:8px;font-size:12px;letter-spacing:.5px;color:var(--text-2)}.panel-scroll{flex:1 1 auto;min-height:0;overflow:auto}.add-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.add-grid>.ant-upload-wrapper,.add-grid .ant-upload-wrapper .ant-upload-select{display:block;width:100%}.add-tile.ant-btn{display:flex;flex-direction:column;justify-content:center;gap:3px;width:100%;height:54px;padding:0 4px;font-size:12px;line-height:1.2}.add-tile.ant-btn .ant-btn-icon{margin-inline-end:0;font-size:16px;line-height:1}.app-canvas{position:relative;flex:1 1 auto;min-width:0;background:var(--canvas-bg);overflow:hidden}.stage-view{position:absolute;top:0;right:0;bottom:0;left:0}.canvas-scrollbars{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;pointer-events:none}.canvas-scrollbar{position:absolute;pointer-events:auto}.canvas-scrollbar.is-h{left:0;right:var(--scrollbar-gap);bottom:0;height:var(--scrollbar-size)}.canvas-scrollbar.is-v{top:0;bottom:var(--scrollbar-gap);right:0;width:var(--scrollbar-size)}.canvas-scrollbar-thumb{position:absolute;border-radius:3px;background:#1f232938;transition:background .15s}.canvas-scrollbar-thumb:hover,.canvas-scrollbar-thumb.is-dragging{background:#1f23296b}.canvas-scrollbar.is-h .canvas-scrollbar-thumb{top:2px;left:0;height:6px}.canvas-scrollbar.is-v .canvas-scrollbar-thumb{top:0;left:2px;width:6px}.frame-label-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.frame-label{position:absolute;display:flex;align-items:center;gap:8px;height:24px;padding:0 8px;font-size:12px;color:var(--text-2);white-space:nowrap;background:#fff;border:1px solid var(--panel-border);border-left:3px solid transparent;border-radius:4px;cursor:move;pointer-events:auto;-webkit-user-select:none;user-select:none;touch-action:none}.frame-label:hover{color:var(--text-1)}.frame-label.is-active{color:var(--brand-active);border-left-color:var(--brand);box-shadow:0 1px 4px #00000014}.frame-label-size{color:var(--text-3);font-variant-numeric:tabular-nums}.layer-list{padding:0 8px 12px}.layer-row{display:flex;align-items:center;gap:6px;height:30px;padding:0 6px;border-radius:4px;font-size:12px;cursor:pointer}.layer-row:hover{background:#f5f6f8}.layer-row.is-active{color:var(--brand-active);background:var(--brand-soft)}.layer-icon{display:inline-flex;color:var(--text-2)}.layer-row.is-active .layer-icon{color:var(--brand)}.layer-name{flex:1 1 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layer-actions{display:none;gap:2px}.layer-flags{display:inline-flex;gap:0;opacity:.45}.layer-row:hover .layer-flags,.layer-row.is-active .layer-flags{opacity:1}.layer-row.is-hidden .layer-name{opacity:.5;text-decoration:line-through}.layer-row:hover .layer-actions{display:inline-flex}.layer-empty{padding:16px 8px;font-size:12px;color:var(--text-3);text-align:center}.layer-row.is-drop-target{box-shadow:inset 0 2px 0 var(--brand)}.text-editor-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.text-editor-overlay textarea{position:absolute;margin:0;padding:0;border:1px dashed var(--brand);background:#ffffffeb;outline:none;resize:none;overflow:hidden;pointer-events:auto;box-sizing:border-box;white-space:pre-wrap;word-break:break-all}.prop-block{margin-bottom:12px}.prop-block:last-child{margin-bottom:0}.prop-row{display:flex;gap:8px}.prop-row>*{flex:1 1 0;min-width:0}.swatch-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.swatch{height:22px;border:1px solid rgba(0,0,0,.12);border-radius:4px;cursor:pointer}.swatch.is-active{outline:2px solid var(--brand);outline-offset:1px}.alpha-preview{height:56px;margin-top:8px;border:1px solid var(--panel-border);border-radius:4px;background-color:#fff;background-image:linear-gradient(45deg,#e6e8eb 25%,transparent 25%),linear-gradient(-45deg,#e6e8eb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6e8eb 75%),linear-gradient(-45deg,transparent 75%,#e6e8eb 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.gradient-swatch{height:28px;border:1px solid rgba(0,0,0,.08);border-radius:4px;cursor:pointer}.gradient-swatch.is-active{outline:2px solid var(--brand);outline-offset:1px}.gradient-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.gradient-bar{position:relative;height:22px;margin-top:4px;border:1px solid rgba(0,0,0,.12);border-radius:4px}.gradient-thumb{position:absolute;top:50%;width:14px;height:14px;margin-left:-7px;border:2px solid #ffffff;border-radius:50%;box-shadow:0 0 0 1px #00000040;transform:translateY(-50%);cursor:grab;touch-action:none}.gradient-thumb.is-active{box-shadow:0 0 0 2px var(--brand)}.gradient-thumb:active{cursor:grabbing}.gradient-stop-row{display:flex;align-items:center;gap:6px;margin-bottom:6px}.export-field-label{margin-bottom:6px;font-size:12px;color:var(--text-3)}.align-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.align-grid .ant-btn{padding:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#d6dade;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#c2c7cc}::-webkit-scrollbar-track{background:transparent}
