:root{--ink:#151515;--muted:#6d6d6d;--faint:#9b9b9b;--line:#dedede;--surface:#fff;--canvas:#f4f4f1;--red:#d71920;--red-dark:#a80f16;--yellow:#f3c600;--stage-bg:#f5f5f2;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{border:0;cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid rgba(215,25,32,.22);outline-offset:2px}.studio{width:100%;min-height:calc(100vh - 74px);padding:22px clamp(18px,3vw,48px) 28px;background:var(--canvas)}.studio-header{width:min(100%,1700px);margin:0 auto 18px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.brand-line{display:flex;align-items:center;gap:9px;color:#3f3f3f;font-size:13px;font-weight:750}.brand-chip{display:grid;place-items:center;width:26px;height:26px;background:var(--red);color:#fff;font-weight:900;border-radius:6px}.header-dot{width:5px;height:5px;border-radius:50%;background:var(--yellow)}.header-context{font-size:11px;color:var(--muted);font-weight:600}.heading-block h1{margin:12px 0 6px;font-size:clamp(30px,3.2vw,48px);line-height:1.08;letter-spacing:-.045em;text-wrap:balance}.heading-block p{color:var(--muted);font-size:13px;line-height:1.5}.header-actions{display:flex;align-items:center;gap:9px;white-space:nowrap}.secure-note{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-right:5px}.lock-icon{display:grid;place-items:center;width:19px;height:19px;border:1px solid #bbb;border-radius:5px}.secondary-button,.primary-button,.run-button,.empty-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;padding:0 14px;border-radius:7px;font-size:12px;font-weight:800;transition:transform .18s ease,background .18s ease}.secondary-button{background:#fff;border:1px solid #cfcfcf;color:var(--ink)}.primary-button,.run-button{color:#fff;background:var(--red);box-shadow:0 8px 18px rgba(215,25,32,.17)}.primary-button:hover,.run-button:hover{background:var(--red-dark);transform:translateY(-1px)}.primary-button:active,.secondary-button:active,.run-button:active,.empty-action:active{transform:scale(.96)}.workspace-grid{width:min(100%,1700px);margin:0 auto;display:grid;grid-template-columns:minmax(310px,360px) minmax(0,1fr);gap:16px;align-items:stretch}.panel{background:var(--surface);border:1px solid #dadada;border-radius:10px;box-shadow:0 14px 40px rgba(20,20,20,.07)}.control-panel{padding:18px 18px 16px}.panel-heading,.section-title-row,.preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.section-kicker{margin:0 0 5px;color:var(--red);font-size:10px;letter-spacing:.14em;font-weight:900}.panel-heading h2,.preview-header h2{margin:0;font-size:18px;letter-spacing:-.03em}.panel-status{display:flex;align-items:center;gap:6px;color:#7a7a7a;font-size:10px}.panel-status i,.preview-status i,.pulse{width:7px;height:7px;border-radius:50%;background:var(--yellow);display:inline-block}.source-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;margin-top:18px;background:#f0f0ed;border-radius:7px}.source-tab{height:30px;background:transparent;border-radius:5px;color:var(--muted);font-size:11px;font-weight:700}.source-tab.selected{background:#fff;color:var(--ink);box-shadow:0 2px 6px rgba(0,0,0,.08)}.source-pane.is-hidden{display:none}.url-form{margin-top:15px}.url-form label{display:block;margin-bottom:7px;font-size:11px;font-weight:800}.url-field{height:40px;display:flex;align-items:center;padding:0 8px;border:1px solid #d4d4d4;border-radius:7px;background:#fafafa}.url-field:focus-within{border-color:var(--red);box-shadow:0 0 0 3px rgba(215,25,32,.09)}.url-prefix{width:20px;color:var(--red);font-size:16px}.url-field input{min-width:0;flex:1;height:100%;border:0;outline:0;background:transparent;font-size:12px}.clear-button{width:25px;height:25px;background:transparent;color:#999;border-radius:5px;font-size:18px}.field-hint{min-height:27px;margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.field-hint.error{color:var(--red)}.run-button{width:100%;margin-top:9px}.source-browser{height:142px;margin-top:13px;overflow:hidden;border:1px solid #d7d7d7;border-radius:7px;background:#fff}.source-browser-bar{height:24px;display:flex;align-items:center;gap:4px;padding:0 7px;background:#eee;border-bottom:1px solid #ddd}.source-browser-bar>span{width:5px;height:5px;border-radius:50%;background:#c4c4c4}.source-browser-bar b{min-width:0;flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777;font-size:9px}.source-browser-bar button{background:transparent;color:#777;font-size:12px}.source-browser iframe{display:block;width:100%;height:calc(100% - 24px);border:0}.source-note{margin:10px 0 0;color:#888;font-size:10px;line-height:1.5}.source-note strong{color:#333}.upload-drop{min-height:178px;margin-top:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed #bdbdbd;border-radius:8px;background:#fafaf8;text-align:center;cursor:pointer}.upload-drop:hover{border-color:var(--red);background:#fff8f7}.upload-drop strong{font-size:12px}.upload-drop small{color:#999;font-size:10px}.upload-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff0ef;color:var(--red);font-size:19px}.upload-drop input{display:none}.upload-file{display:flex;align-items:center;gap:9px;margin-top:12px;padding:9px 10px;border:1px solid #ddd;border-radius:7px;background:#fff}.upload-file>span{color:var(--red);font-size:18px}.upload-file div{min-width:0;flex:1}.upload-file b,.upload-file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-file b{font-size:11px}.upload-file small{margin-top:3px;color:#999;font-size:9px}.upload-file button{background:transparent;color:#999;font-size:18px}.control-divider{height:1px;margin:15px 0;background:#e8e8e8}.small-meta{color:#999;font-size:10px}.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}.device-option{display:flex;align-items:center;gap:7px;min-height:49px;padding:6px 7px;text-align:left;border:1px solid #e1e1e1;border-radius:7px;background:#fafafa;color:var(--muted)}.device-option:hover{border-color:#c8c8c8;background:#fff}.device-option.selected{border-color:var(--red);background:#fff4f3;color:#a80f16;box-shadow:inset 3px 0 0 var(--red)}.device-option strong,.device-option small{display:block}.device-option strong{font-size:10px;line-height:1.25}.device-option small{margin-top:3px;color:#999;font-size:8px}.device-thumb{position:relative;display:block;flex:0 0 35px;height:33px;transform:scale(.8);transform-origin:left center}.device-thumb i{position:absolute;display:block;border:2px solid #888;background:#fff}.selected .device-thumb i{border-color:var(--red)}.all-thumb i:nth-child(1){width:27px;height:18px;left:0;top:1px}.all-thumb i:nth-child(2){width:14px;height:24px;right:0;top:9px}.all-thumb i:nth-child(3){width:9px;height:16px;left:21px;bottom:0}.desktop-thumb i{width:35px;height:22px;left:0;top:0}.desktop-thumb:after{content:"";position:absolute;left:11px;bottom:3px;width:13px;border-bottom:2px solid #888}.laptop-thumb i{width:37px;height:22px;left:0;top:0}.laptop-thumb:after{content:"";position:absolute;left:-2px;right:-2px;bottom:3px;height:4px;background:#888}.tablet-thumb i{width:20px;height:30px;left:7px;top:0;border-radius:4px}.mobile-thumb i{width:15px;height:30px;left:9px;top:0;border-radius:5px}.setting-row{display:flex;align-items:center;justify-content:space-between;min-height:34px;color:var(--muted);font-size:10px}.setting-row+.setting-row{border-top:1px solid #f0f0f0}.segmented{display:flex;gap:2px;padding:3px;border-radius:6px;background:#f0f0ed}.segmented button{height:25px;padding:0 8px;border-radius:4px;background:transparent;color:#777;font-size:9px}.segmented button.selected{background:#fff;color:#111;box-shadow:0 2px 4px rgba(0,0,0,.08);font-weight:800}.swatches{display:flex;gap:7px}.swatch{width:20px;height:20px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #c8c8c8}.swatch.selected{box-shadow:0 0 0 2px var(--red)}.toggle{width:31px;height:18px;padding:2px;border-radius:20px;background:#c7c7c7}.toggle i{display:block;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .18s ease}.toggle.selected{background:var(--red)}.toggle.selected i{transform:translateX(13px)}.preview-panel{min-width:0;padding:18px 20px 14px;display:flex;flex-direction:column}.preview-actions{display:flex;align-items:center;gap:5px}.preview-status{display:flex;align-items:center;gap:6px;color:#888;font-size:10px;margin-right:4px}.preview-status.live{color:#278237}.preview-status.live i{background:#3da451;box-shadow:0 0 0 3px rgba(61,164,81,.13)}.icon-button{display:grid;place-items:center;width:32px;height:32px;background:transparent;color:#777;border-radius:6px;font-size:18px}.icon-button:hover{background:#f1f1ef;color:#111}.preview-stage{position:relative;min-height:calc(100vh - 250px);margin-top:14px;overflow:hidden;flex:1;border:1px solid #d8d8d4;border-radius:8px;background:var(--stage-bg);isolation:isolate}.preview-stage.square-stage{aspect-ratio:1/1;min-height:0;flex:0 1 auto}.stage-grid{position:absolute;inset:0;opacity:.5;background-image:linear-gradient(#fff8 1px,transparent 1px),linear-gradient(90deg,#fff8 1px,transparent 1px);background-size:40px 40px;z-index:-1}.stage-label{position:absolute;top:12px;color:#888;font-size:9px;font-weight:900;letter-spacing:.12em}.stage-label.left{left:14px}.stage-label.right{right:14px;letter-spacing:.03em}.devices-canvas{position:absolute;inset:44px 28px 24px}.device{position:absolute}.device.is-hidden{display:none}.device-screen{position:relative;overflow:hidden;background:#fff}.device-screen img{display:block;width:100%;height:100%;object-fit:cover;background:#fff}.device-screen img:not(.has-image){opacity:0}.browser-chrome{position:absolute;z-index:2;top:0;left:0;right:0;height:18px;display:flex;align-items:center;gap:4px;padding:0 6px;background:#eceff1;border-bottom:1px solid #ddd}.browser-chrome span{width:4px;height:4px;border-radius:50%;background:#c4c9cd}.browser-chrome b{min-width:0;overflow:hidden;margin-left:3px;color:#80878c;font-size:6px;text-overflow:ellipsis;white-space:nowrap}.device-bezel,.laptop-lid,.tablet-shell,.phone-shell{height:100%;background:#1d2328}.device-bezel{padding:12px 12px 20px;border-radius:8px 8px 5px 5px}.device-bezel .device-screen{height:100%;border-radius:3px}.device-stand{width:24%;height:23px;margin:-1px auto 0;background:#838b91;clip-path:polygon(28% 0,72% 0,100% 100%,0 100%)}.device-foot{width:50%;height:4px;margin:-1px auto 0;background:#5f666b;border-radius:0 0 4px 4px}.device-desktop{left:3%;top:8%;width:min(54%,700px);aspect-ratio:1.4;filter:drop-shadow(0 18px 15px rgba(0,0,0,.2));z-index:1}.device-laptop{right:4%;top:12%;width:min(43%,560px);aspect-ratio:1.48;filter:drop-shadow(0 14px 14px rgba(0,0,0,.18));z-index:2}.laptop-lid{padding:10px 10px 15px;border-radius:6px 6px 2px 2px}.laptop-lid .device-screen{height:100%;border-radius:3px}.laptop-base{position:absolute;left:-8%;right:-8%;bottom:-8px;height:11px;background:#9aa1a5;clip-path:polygon(3% 0,97% 0,100% 74%,76% 100%,24% 100%,0 74%)}.device-tablet{left:11%;bottom:5%;width:min(21%,230px);aspect-ratio:.7;filter:drop-shadow(0 13px 13px rgba(0,0,0,.2));z-index:3}.tablet-shell{padding:9px 8px 12px;border-radius:13px}.tablet-shell .device-screen{height:100%;border-radius:4px}.device-mobile{right:15%;bottom:5%;width:min(13%,140px);aspect-ratio:.47;filter:drop-shadow(0 12px 12px rgba(0,0,0,.23));z-index:4}.phone-shell{position:relative;padding:10px 5px 13px;border-radius:15px}.phone-shell .device-screen{height:100%;border-radius:8px}.phone-speaker{position:absolute;top:5px;left:50%;width:17px;height:3px;transform:translateX(-50%);background:#667078;border-radius:4px;z-index:3}.phone-button{position:absolute;bottom:4px;left:50%;width:10px;height:3px;transform:translateX(-50%);background:#667078;border-radius:3px}.no-chrome .browser-chrome{display:none}.no-shadow .device{filter:none}.devices-canvas.single .device:not(.is-selected){display:none}.devices-canvas.single .device.is-selected{left:50%;top:50%;right:auto;bottom:auto;width:min(82%,1050px);transform:translate(-50%,-50%)}.devices-canvas.single .device.is-selected.device-tablet{width:min(42%,420px)}.devices-canvas.single .device.is-selected.device-mobile{width:min(25%,270px)}.empty-state,.loading-state{position:absolute;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;gap:8px;transform:translate(-50%,-50%);text-align:center;color:#777}.empty-state strong,.loading-state strong{font-size:14px;color:#444}.empty-state>span,.loading-state>span{font-size:10px;color:#999}.empty-icon{position:relative;width:52px;height:40px;margin-bottom:4px}.empty-icon span{position:absolute;border:2px solid #9e9e9a;background:#ffffff80;border-radius:3px}.empty-icon span:nth-child(1){left:0;top:8px;width:31px;height:22px}.empty-icon span:nth-child(2){right:0;top:0;width:30px;height:26px}.empty-icon span:nth-child(3){left:18px;bottom:0;width:16px;height:22px}.empty-action{height:32px;margin-top:4px;padding:0 12px;background:var(--red);color:#fff;font-size:10px}.loading-state{display:none}.preview-stage.is-loading .loading-state{display:flex}.preview-stage.is-loading .empty-state{display:none}.preview-stage.is-loading .devices-canvas{opacity:.08}.loader{width:28px;height:28px;border:3px solid #ddd;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.url-summary{display:flex;align-items:center;gap:8px;min-width:0;color:#777;font-size:10px}.url-summary [data-summary]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cross-origin-note{color:#999;font-size:9px;text-align:right}.toast{position:fixed;right:22px;bottom:22px;z-index:20;max-width:340px;padding:11px 14px;border-radius:7px;background:#1a1a1a;color:#fff;font-size:11px;box-shadow:0 12px 28px rgba(0,0,0,.22);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity .2s ease,transform .2s ease}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:980px){.studio-header{align-items:flex-start;flex-direction:column}.header-actions{width:100%}.header-actions .secondary-button,.header-actions .primary-button{flex:1}.secure-note{margin-right:auto}.workspace-grid{grid-template-columns:minmax(270px,320px) minmax(0,1fr)}.preview-stage{min-height:520px}}
@media(max-width:760px){.studio{padding:18px 12px 22px}.heading-block h1{font-size:30px}.header-actions{flex-wrap:wrap}.secure-note{width:100%;margin:0}.workspace-grid{grid-template-columns:1fr}.preview-panel{order:1}.control-panel{order:2}.preview-stage{min-height:460px}.devices-canvas{inset:40px 10px 20px}.device-desktop{left:1%;width:63%}.device-laptop{right:1%;width:49%}.device-tablet{left:5%;width:25%}.device-mobile{right:10%;width:16%}.device-grid{grid-template-columns:1fr 1fr}.cross-origin-note{display:none}}
@media(max-width:460px){.device-grid{grid-template-columns:1fr}.preview-stage{min-height:390px}.preview-header{align-items:center}.preview-status{display:none}.devices-canvas:not(.single) .device-desktop{width:65%}.devices-canvas:not(.single) .device-laptop{width:50%}.devices-canvas:not(.single) .device-tablet{width:27%}.devices-canvas:not(.single) .device-mobile{width:18%}}
body.zmt-website-thumbnail-page .container,body.zmt-website-thumbnail-page .content-wrap,body.zmt-website-thumbnail-page .content-layout,body.zmt-website-thumbnail-page .page-article,body.zmt-website-thumbnail-page .wp-posts-content{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}body.zmt-website-thumbnail-page .page-article{background:var(--canvas)!important;box-shadow:none!important;border-radius:0!important}body.zmt-website-thumbnail-page .main-bg{background:var(--canvas)!important}
