.editor.frame { inset:0; display:grid; grid-template-rows:44px minmax(0,1fr); background:#f4f5f6; color:#444b54; }
.editor-header { display:flex; align-items:center; padding-inline:32px; gap:9px; background:#fff; border-bottom:1px solid #eceef0; }
.editor-header > img { display:block; flex:none; }
.editor-header strong { font-size:15px; font-weight:500; line-height:20px; color:#535c67; }
.editor-pager { margin-left:auto; display:flex; align-items:center; gap:8px; color:#67717a; font-size:12px; }
.editor-pager span { display:grid; place-items:center; height:26px; line-height:1; min-width:38px; font-variant-numeric:tabular-nums; }
.editor-pager button { display:grid; place-items:center; width:26px; height:26px; padding:0; border:0; background:transparent; color:inherit; }
.editor-pager svg { display:block; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.editor-pager button:disabled { opacity:.25; }
.edit-photo { transition:transform 420ms ease; } .edit-photo:active { transition:none; }
.editor-canvas { min-height:0; display:grid; place-items:center; padding:38px 50px 46px; container-type:size; }
.edit-slide { width:min(100cqw,calc(100cqh * 16 / 9)); aspect-ratio:16 / 9; position:relative; background:#fefefe; box-shadow:0 2px 12px #20262816; overflow:hidden; container-type:inline-size; }
.edit-slide > img { position:absolute; inset:0; width:100%; height:100%; }
.edit-slide[data-page="8"] > img { clip-path:inset(0 0 0 48%); }
.edit-object { position:absolute; }
.edit-object.selected::after { content:""; pointer-events:none; position:absolute; inset:-1px; border:1.5px solid #476da2; }
.edit-object.selected i { position:absolute; z-index:1; width:7px; height:7px; background:white; border:1.5px solid #476da2; border-radius:50%; pointer-events:none; }
.edit-object i:nth-last-child(4) { top:-4px; left:-4px; }
.edit-object i:nth-last-child(3) { top:-4px; right:-4px; }
.edit-object i:nth-last-child(2) { bottom:-4px; right:-4px; }
.edit-object i:last-child { bottom:-4px; left:-4px; }
.edit-photo { left:4.248%; top:17.795%; width:41.263%; height:70.055%; cursor:grab; touch-action:none; }
.edit-photo:active { cursor:grabbing; }
.edit-photo img { display:block; width:100%; height:100%; user-select:none; pointer-events:none; }
.edit-title { left:3.984%; top:6.591%; color:#202b35; font:700 3.75cqw/1.172 "HarmonyOS Sans SC","Microsoft YaHei",sans-serif; max-width:90%; }
.edit-title [contenteditable] { min-width:2em; white-space:nowrap; overflow:hidden; outline:0; cursor:text; }


.edit-slide[data-layered] { background:transparent; overflow:visible; box-shadow:none; }
.experiment-layers { position:absolute; inset:0; pointer-events:none; }
.experiment-plane { position:absolute; inset:0; transform:translate(0,0) scale(1) rotateX(0deg) rotateZ(0deg); transition:transform 1.20s cubic-bezier(.42,0,.15,1); }
.experiment-plane img { position:absolute; inset:0; width:100%; height:100%; display:block; }
.experiment-plane .white-labels { filter:brightness(1); transition:filter .28s ease .76s; }
[data-pose="apart"] .experiment-plane .white-labels { filter:brightness(.18); transition-delay:.18s; }
.experiment-plane::before { content:""; position:absolute; inset:0; background:linear-gradient(155deg,#fff 5%,#f3f9fa 100%); border:1.8px solid #c1d0d4; box-shadow:0 2px 0 #c5d3d6,0 9px 18px #203e4615; opacity:0; transition:opacity .6s; }
[data-pose="tilt"] .experiment-plane {transform:translate(-5%,0%) scale(.52) rotateX(63deg) rotateZ(-45deg);}
[data-pose="apart"] .experiment-plane {transform:translate(-5%,var(--height)) scale(.52) rotateX(63deg) rotateZ(-45deg); transition-delay:calc(var(--level) * 45ms);}
[data-pose="apart"] .experiment-plane::before {opacity:.54;}
[data-pose="apart"] .experiment-plane:nth-child(4)::before {opacity:.16;}
.layer-legend { position:absolute; inset:0; opacity:0; transition:opacity .2s; color:#596770; font:500 1.65cqw/1.25 "Microsoft YaHei",sans-serif; }
[data-pose="apart"] .layer-legend {opacity:1; transition-delay:.85s;}
.layer-legend span {position:absolute; left:75%; top:calc(43.5% + var(--height)); transform:translateY(-50%); display:flex; align-items:center; gap:.7cqw;}
.layer-legend span::before {content:""; width:2.4cqw; height:1px; background:#95a5ab;}
@media(prefers-reduced-motion:reduce){.experiment-plane,.experiment-plane .white-labels,.experiment-layers,.layer-legend{transition:none}}
