@font-face{font-family:Plus Jakarta Sans Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/plus-jakarta-sans-cyrillic-ext-wght-normal.1p5eg27ho_atv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/plus-jakarta-sans-vietnamese-wght-normal.2gl4mcd5dm2h_.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/plus-jakarta-sans-latin-ext-wght-normal.362mv560wxbnh.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/plus-jakarta-sans-latin-wght-normal.1nsast9qgxif8.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#f6f5f2;--canvas:#ebe9e4;--surface:#fff;--line:#e8e5df;--line-strong:#d8d4cc;--text:#17201f;--muted:#7a8583;--accent:#0e8f7e;--accent-soft:#e3f3f0;--accent-ink:#fff;--radius:10px}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Plus Jakarta Sans Variable,system-ui,-apple-system,Segoe UI,sans-serif;font-size:13px}button{font:inherit;color:inherit}.editor{flex-direction:column;height:100vh;display:flex}.muted{color:var(--muted)}.small{font-size:12px}.topbar{border-bottom:1px solid var(--line);background:var(--surface);flex:none;align-items:center;gap:20px;height:52px;padding:0 16px;display:flex}.brand{letter-spacing:-.01em;align-items:center;gap:8px;font-size:15px;font-weight:800;display:flex}.brand-mark{background:var(--accent);width:18px;height:18px;box-shadow:inset 0 0 0 4px var(--accent), inset 0 0 0 6px #ffffff8c;border-radius:5px}.autosave{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.autosave .dot{background:#3cb98f;border-radius:50%;width:6px;height:6px}.topbar-actions{gap:8px;margin-left:auto;display:flex}.workspace{flex:1;grid-template-columns:264px minmax(0,1fr) 296px;min-height:0;display:grid}.sidebar{background:var(--surface);min-height:0;overflow-y:auto}.sidebar.left{border-right:1px solid var(--line)}.sidebar.right{border-left:1px solid var(--line)}.sidebar-head{z-index:1;background:var(--surface);justify-content:space-between;align-items:baseline;padding:16px 16px 12px;display:flex;position:sticky;top:0}.sidebar-head h2{margin:0;font-size:14px;font-weight:800}.gallery{grid-template-columns:repeat(2,1fr);gap:14px 10px;padding:4px 16px 20px;display:grid}.tpl{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;padding:0;display:flex}.tpl-thumb{box-shadow:0 0 0 1px var(--line-strong);border-radius:8px;margin-bottom:6px;transition:box-shadow .15s;display:block;overflow:hidden}.tpl:hover .tpl-thumb{box-shadow:0 0 0 1px #b9b4a9,0 4px 14px #1428261f}.tpl.active .tpl-thumb{box-shadow:0 0 0 2px var(--accent)}.tpl-name{font-size:12px;font-weight:700}.tpl.active .tpl-name{color:var(--accent)}.tpl-desc{color:var(--muted);font-size:11px;line-height:1.3}.stage{flex-direction:column;gap:10px;min-width:0;min-height:0;padding:12px 16px 8px;display:flex}.tabs{background:#e5e2dc;border-radius:10px;flex:none;align-self:center;gap:2px;max-width:100%;padding:3px;display:flex;overflow-x:auto}.tab{white-space:nowrap;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:600}.tab:hover{color:var(--text)}.tab.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #141e1c1f}.preview-area{border-radius:var(--radius);background:var(--canvas);flex:1;justify-content:center;align-items:center;min-height:0;padding-bottom:56px;display:flex;position:relative;overflow:hidden}.preview-frame{border-radius:3px;overflow:hidden;box-shadow:0 12px 40px #14282629}.stage-foot{text-align:center;flex:none}.error{color:#a43a22;background:#fff1ee;border:1px solid #f3c7bd;border-radius:8px;padding:8px 12px;position:absolute;bottom:16px;left:16px}.section{border-bottom:1px solid var(--line);flex-direction:column;gap:12px;padding:16px;display:flex}.section:last-child{border-bottom:0}.section h3{margin:0;font-size:13px;font-weight:800}.field{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.field.inline{flex-direction:row;justify-content:space-between;align-items:center}.row{gap:8px;display:flex}.row>*{flex:1}textarea{width:100%;font:inherit;color:var(--text);border:1px solid var(--line);background:var(--bg);resize:none;border-radius:8px;padding:8px 10px;font-weight:500}textarea:focus{outline:2px solid var(--accent-soft);border-color:var(--accent);background:var(--surface)}textarea.code{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}input[type=color]{appearance:none;border:1px solid var(--line-strong);cursor:pointer;background:0 0;border-radius:8px;width:30px;height:30px;padding:0}input[type=color]::-webkit-color-swatch-wrapper{padding:3px}input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}input[type=color]::-moz-color-swatch{border:0;border-radius:5px}.range{flex-direction:column;gap:6px;display:flex}.range-label{color:var(--muted);justify-content:space-between;font-size:12px;font-weight:600;display:flex}.range output{color:var(--text);font-variant-numeric:tabular-nums}input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:16px}input[type=range]::-webkit-slider-runnable-track{background:var(--line-strong);border-radius:2px;height:3px}input[type=range]::-moz-range-track{background:var(--line-strong);border-radius:2px;height:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--surface);border:2px solid var(--accent);border-radius:50%;width:14px;height:14px;margin-top:-5.5px;box-shadow:0 1px 3px #141e1c33}input[type=range]::-moz-range-thumb{background:var(--surface);border:2px solid var(--accent);border-radius:50%;width:10px;height:10px}.swatches{gap:10px;display:flex}.swatch{border:1px solid var(--line-strong);cursor:pointer;border-radius:50%;width:26px;height:26px}.swatch.active{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--accent)}.details summary{cursor:pointer;color:var(--muted);font-size:12px;font-weight:600;list-style:none}.details summary::-webkit-details-marker{display:none}.details summary:before{content:"▸";width:14px;font-size:10px;display:inline-block}.details[open] summary:before{content:"▾"}.details-body{flex-direction:column;gap:12px;padding-top:12px;display:flex}.btn{border:1px solid var(--line-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:8px 14px;font-weight:700;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover:not(:disabled){background:var(--bg)}.btn:disabled{opacity:.6;cursor:progress}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:hover:not(:disabled){background:#0c7d6e}.btn.ghost{background:var(--bg);border-color:#0000}.btn.ghost:hover:not(:disabled){background:#ece9e3}.btn.small{padding:6px 10px;font-size:12px}.btn.upload{border-style:dashed;width:100%}.framebar{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.chips{gap:4px;display:flex}.chip{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:8px;min-width:28px;height:28px;padding:0 8px;font-size:12px;font-weight:700}.chip.active{background:var(--text);border-color:var(--text);color:#fff}.chip.add{color:var(--muted);border-style:dashed}.chip:disabled{opacity:.4;cursor:default}.framebar-actions{align-items:center;gap:4px;display:flex}.framebar-actions .btn:disabled{opacity:.4;cursor:default}.check{color:var(--muted);cursor:pointer;align-items:center;gap:4px;margin-left:6px;font-size:12px;font-weight:600;display:flex}.check input{accent-color:var(--accent)}.hint{color:var(--muted);margin:0;font-size:11px}.preview-frame{position:relative}.frame-cell{pointer-events:none;position:absolute;top:0}.frame-cell.active{box-shadow:inset 0 0 0 2px var(--accent)}.frame-badge{color:#fff;background:#17201fb8;border-radius:9px;min-width:18px;padding:1px 5px;font-size:10px;font-weight:700;position:absolute;top:6px;left:6px}.frame-cell.active .frame-badge{background:var(--accent)}.slice-line{pointer-events:none;background:repeating-linear-gradient(#17201f 0 6px,#0000 6px 12px);width:2px;position:absolute;top:0;bottom:0;left:-1px;box-shadow:0 0 0 1px #ffffffb3}.select{width:100%;font:inherit;color:var(--text);border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:8px;padding:8px 10px;font-weight:600}.capture{z-index:2;touch-action:none;cursor:default;position:absolute;inset:0}.sel-box{z-index:3;border:1.5px solid var(--accent);pointer-events:none;border-radius:2px;position:absolute}.handle{border:1.5px solid var(--accent);pointer-events:auto;touch-action:none;background:#fff;border-radius:3px;width:11px;height:11px;position:absolute}.handle.nw{cursor:nwse-resize;top:-6px;left:-6px}.handle.se{cursor:nwse-resize;bottom:-6px;right:-6px}.handle.ne{cursor:nesw-resize;top:-6px;right:-6px}.handle.sw{cursor:nesw-resize;bottom:-6px;left:-6px}.handle.rot{cursor:grab;border-radius:50%;margin-left:-6px;top:-28px;left:50%}.handle.rot:after{content:"";background:var(--accent);width:1.5px;height:16px;margin-left:-.75px;position:absolute;top:100%;left:50%}.popover{z-index:5;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:12px;padding:12px 14px 14px;display:flex;position:absolute;overflow-y:auto;box-shadow:0 12px 32px #141e1c2e}.popover-head{justify-content:space-between;align-items:center;font-size:13px;display:flex}.popover-close{width:22px;height:22px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:18px;line-height:1}.popover-close:hover{background:var(--bg)}.btn.icon{width:32px;padding:6px 0;font-size:16px;line-height:1}.btn.ghost:disabled{opacity:.35;cursor:default}.modal-backdrop{z-index:20;background:#17201f52;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:14px;flex-direction:column;gap:14px;width:460px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);padding:16px 18px 18px;display:flex;overflow-y:auto;box-shadow:0 24px 60px #141e1c4d}.kbd-group h4{color:var(--muted);margin:0 0 6px;font-size:12px}.kbd-row{border-top:1px solid var(--line);grid-template-columns:150px 1fr;align-items:start;gap:12px;padding:5px 0;font-size:12px;display:grid}kbd{font:inherit;color:var(--text);font-size:11px;font-weight:700}.lang{background:#e5e2dc;border-radius:8px;padding:2px;display:flex}.lang-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 9px;font-size:11px;font-weight:700}.lang-btn.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #141e1c1f}.ctx-menu{z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;padding:6px;display:flex;position:fixed;box-shadow:0 16px 40px #141e1c38}.ctx-title{color:var(--muted);padding:4px 10px 6px;font-size:11px;font-weight:700}.ctx-item{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:7px 10px;font-weight:600;display:flex}.ctx-item:hover:not(:disabled){background:var(--bg)}.ctx-item:disabled{opacity:.4;cursor:default}.ctx-item.danger{color:#b4361f}.ctx-item kbd{color:var(--muted);font-weight:600}.ctx-sep{background:var(--line);height:1px;margin:4px 6px}.seg{background:#0000000f;border-radius:8px;gap:2px;margin-bottom:8px;padding:2px;display:flex}.seg button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;padding:5px 0;font-size:12px}.seg button.active{background:#fff;box-shadow:0 1px 2px #00000026}.toolbar{z-index:5;background:#2c2c2c;border-radius:14px;gap:4px;padding:6px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #00000047}.tool{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.tool:hover{background:#ffffff1f}.tool.active{background:#3b8de0}.panel-head{justify-content:space-between;align-items:center;display:flex}.home{min-height:100%}.home-main{max-width:1120px;margin:0 auto;padding:36px 24px 64px}.home-main h1{letter-spacing:-.02em;margin:0 0 4px;font-size:26px}.proj-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:24px;display:grid}.proj{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.proj-new{border:1.5px dashed var(--line-strong);min-height:260px;color:var(--muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;font-weight:600}.proj-new:hover{border-color:var(--accent);color:var(--accent)}.proj-plus{font-size:28px;line-height:1}.proj-thumb{background:var(--canvas);cursor:pointer;border:0;place-items:center;height:190px;padding:0;display:grid;overflow:hidden}.proj-thumb:hover{filter:brightness(.97)}.proj-body{flex-direction:column;gap:4px;padding:12px 14px;display:flex}.proj-name{text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;align-self:flex-start;max-width:100%;padding:0;font-size:14px;font-weight:700;overflow:hidden}.proj-name-input,.project-name{font:inherit;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);border-radius:8px;padding:4px 8px;font-weight:700}.project-name{background:0 0;border-color:#0000;width:220px;margin-left:12px}.project-name:hover,.project-name:focus{border-color:var(--line-strong);background:var(--surface);outline:none}a.brand{color:inherit;text-decoration:none}.proj-actions{flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;display:flex}.btn.danger{color:#fff;background:#c43d3d;border-color:#c43d3d}.home-empty{border:1.5px dashed var(--line-strong);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:10px;margin-top:64px;padding:48px 24px;display:flex}.home-empty.full{max-width:420px;margin:18vh auto 0}.error.inline{margin-top:12px;position:static}.btn.big{border-radius:12px;padding:11px 20px;font-size:15px}.btn.wide{text-align:center;justify-content:center;width:100%}a.btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.mk{color:var(--text);font-size:16px;line-height:1.55}:where(.mk) :where(h1,h2,h3,p){margin:0}.mk-wrap{max-width:1120px;margin:0 auto;padding:0 24px}.mk-nav{z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);background:#f6f5f2e0;position:sticky;top:0}.mk-nav-in{align-items:center;gap:24px;height:60px;display:flex}.mk-brand{color:inherit;align-items:center;gap:8px;font-size:18px;font-weight:800;text-decoration:none;display:flex}.mk-links{gap:20px;margin-right:auto;display:flex}.mk-links a{color:var(--muted);font-size:14px;font-weight:600;text-decoration:none}.mk-links a:hover{color:var(--text)}.mk-nav-actions{align-items:center;gap:8px;display:flex}.mk-hero{grid-template-columns:1.05fr 1fr;align-items:center;gap:48px;padding-top:64px;padding-bottom:72px;display:grid}.mk-badge{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700;display:inline-block}.mk-hero h1{letter-spacing:-.03em;margin-top:16px;font-size:clamp(34px,5vw,54px);font-weight:800;line-height:1.06}.mk-lead{color:#4d5957;max-width:520px;margin-top:18px;font-size:18px}.mk-cta{flex-wrap:wrap;gap:10px;margin-top:28px;display:flex}.mk-note{color:var(--muted);margin-top:14px;font-size:13px}.mk-hero-art{justify-content:center;display:flex}.mk-art{border-radius:18px;max-width:100%;overflow:hidden;box-shadow:0 30px 60px #141e1c40}.mk-section{padding-top:72px;padding-bottom:72px}.mk-alt{background:#efede8;max-width:none}.mk-section h2{letter-spacing:-.02em;font-size:clamp(26px,3.4vw,36px);font-weight:800;line-height:1.15}.mk-sub{color:var(--muted);max-width:560px;margin-top:10px}.mk-sub.small{margin-top:24px;font-size:13px}.mk-steps{grid-template-columns:repeat(3,1fr);gap:20px;margin:32px 0 0;padding:0;list-style:none;display:grid}.mk-steps li{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px}.mk-num{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.mk-steps h3,.mk-feature h3{margin-top:14px;font-size:18px}.mk-steps p,.mk-feature p{color:#4d5957;margin-top:6px;font-size:15px}.mk-features{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;display:grid}.mk-feature{background:var(--surface);border-radius:16px;padding:24px}.mk-feature h3{margin-top:0}.mk-showcase{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:20px;margin-top:32px;display:grid}.mk-tpl{color:inherit;text-align:center;flex-direction:column;align-items:center;gap:10px;font-size:14px;font-weight:700;text-decoration:none;display:flex}.mk-tpl-art{border-radius:14px;transition:transform .15s;overflow:hidden;box-shadow:0 10px 28px #141e1c2e}.mk-tpl:hover .mk-tpl-art{transform:translateY(-4px)}.mk-plans{grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px;display:grid}.mk-plan{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:4px;padding:24px;display:flex}.mk-plan.live{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.mk-price{letter-spacing:-.02em;margin-top:8px;font-size:26px;font-weight:800}.mk-pnote{color:var(--muted);font-size:13px}.mk-plan ul{color:#4d5957;flex:1;margin:14px 0 18px;padding-left:18px;font-size:14px}.mk-soon{text-align:center;background:var(--canvas);color:var(--muted);border-radius:10px;padding:9px 0;font-size:13px;font-weight:700}.mk-narrow{max-width:760px}.mk-faq{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin-top:12px;padding:16px 20px}.mk-faq summary{cursor:pointer;font-weight:700}.mk-faq p{color:#4d5957;margin-top:10px}.mk-final{text-align:center;color:#fff;background:#0f2f2b;padding:80px 24px}.mk-final h2{letter-spacing:-.02em;max-width:640px;margin:0 auto 24px;font-size:clamp(26px,3.6vw,38px);line-height:1.15}.mk-footer{color:var(--muted);padding:24px 0;font-size:13px}.mk-footer-in{justify-content:space-between;display:flex}@media (max-width:900px){.mk-hero,.mk-steps,.mk-features{grid-template-columns:1fr}.mk-plans{grid-template-columns:1fr 1fr}.mk-links{display:none}.mk-nav-in{justify-content:space-between}}@media (max-width:560px){.mk-plans{grid-template-columns:1fr}}.auth-main{flex-direction:column;align-items:center;gap:16px;padding:48px 16px;display:flex}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:12px;width:100%;max-width:400px;padding:28px;display:flex}.auth-card h1{letter-spacing:-.02em;margin:8px 0 0;font-size:22px}.auth-card p{margin:0}.auth-card form{flex-direction:column;gap:12px;display:flex}.auth-or{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--line);flex:1;height:1px}.auth-error{color:#c43d3d;font-size:13px}.auth-notice{background:var(--accent-soft);border-radius:10px;padding:10px 12px;font-size:13px}.auth-guest{margin-top:4px}.auth-foot{text-align:center}
