[data-post-editor=instagram]>.app-preview-column>.app-preview-toolbar>.app-preview-label{display:none}
[data-post-editor=instagram][data-animating=true]{grid-template-columns:minmax(0,1fr) 330px}
[data-post-editor=instagram] .app-preview-stage{position:relative}
[data-post-editor=instagram][data-animating=true] .app-preview-stage{height:clamp(340px,calc(100dvh - 300px),650px);min-height:340px}
[data-post-editor=instagram] .app-preview-toolbar{flex-wrap:wrap;gap:10px}
.igpost-motion-presets{display:grid;gap:9px;border:0;margin:0;padding:0}
.igpost-motion-presets label{cursor:pointer;position:relative}.igpost-motion-presets input{position:absolute;opacity:0}
.igpost-motion-presets label>span{display:flex;gap:13px;align-items:center;padding:14px 12px;border:1px solid #e1e5dd;background:#fafbf8;border-radius:10px;color:#60745e}
.igpost-motion-presets i{display:grid;place-items:center;width:37px;flex-shrink:0}.igpost-motion-presets svg{width:33px;height:37px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.igpost-motion-presets strong{font-size:13px;line-height:1.4;font-weight:600}.igpost-motion-presets small{display:block;font-size:11px;font-weight:400;line-height:1.6;margin-top:4px;color:#74816e}
.igpost-motion-presets input:checked+span{background:#f0f3ff;border-color:#90a4ff;color:#2954ef}.igpost-motion-presets input:focus-visible+span{outline:2px solid #2954ef;outline-offset:2px}
.igpost-animation-panel [data-motion-only][hidden]{display:none}
@media(max-width:1100px){[data-post-editor=instagram][data-animating=true]{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:800px){[data-post-editor=instagram][data-animating=true]{grid-template-columns:minmax(0,1fr)}}

.ios-chat-background .app-segment{width:100%}.ios-chat-background .app-segment label{flex:1}.ios-chat-background .app-segment label>span{text-align:center}
.ios-background-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0 16px;padding:2px}
.ios-background-presets button{display:block;width:100%;height:34px;min-width:0;padding:3px;border:1px solid #e1e5dd;border-radius:9px;background:#fff;box-shadow:none;cursor:pointer}
.ios-background-presets button span{display:block;height:100%;border-radius:5px;background:var(--background-swatch)}
.ios-background-presets button[aria-pressed=true]{border-color:#2954ef;box-shadow:0 0 0 2px #2954ef18}.ios-background-presets button:focus-visible{outline:2px solid #2954ef;outline-offset:2px}
.ios-background-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ios-background-color{display:grid;gap:7px;min-width:0;font-size:11px;color:#60705b}
.ios-background-color-input{display:flex;align-items:center;gap:7px;min-width:0;border:1px solid #dce1d8;border-radius:8px;background:#fff;padding:9px 7px;font-size:10px;font-variant-numeric:tabular-nums}
.ios-background-color-input input[type=color]{display:block;width:24px;height:24px;min-width:24px;padding:0;border:0;border-radius:5px;background:transparent;appearance:none;cursor:pointer}
.ios-background-color-input input[type=color]::-webkit-color-swatch-wrapper{padding:0}.ios-background-color-input input[type=color]::-webkit-color-swatch{border:1px solid #0001;border-radius:5px}.ios-background-color-input input[type=color]::-moz-color-swatch{border:1px solid #0001;border-radius:5px}
.ios-background-color-input:focus-within{outline:2px solid #2954ef;outline-offset:2px}
.ios-animation-background{margin-top:22px;padding-top:18px;border-top:1px solid #e9ede6}
.app-page .ios-animation-background h4{margin:0 0 12px;font-size:12px;font-weight:600;line-height:1.5;color:#344130}
.ios-background-color[hidden],.ios-animation-guide-controls[hidden],.ios-shorts-guide[hidden]{display:none}
.ios-animation-guide-controls{padding:12px 18px;border:1px solid #e1e5dd;border-top:0;background:#fff}
.ios-animation-guide-controls button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dfe5db;border-radius:7px;padding:7px 10px;background:#fff;color:#60705b;font-family:inherit;font-weight:500;font-size:11px;line-height:1.5;cursor:pointer}
.ios-animation-guide-controls button svg{flex-shrink:0}.ios-animation-guide-controls button:hover{background:#f6f8f3;border-color:#c6d0bd}.ios-animation-guide-controls button[aria-pressed=true]{color:#285be7;border-color:#bdcdf5;background:#eff4ff}.ios-animation-guide-controls button:focus-visible{outline:2px solid #285be7;outline-offset:2px}
.app-page .ios-animation-guide-controls p{font-size:11px;line-height:1.6;color:#72806a;margin:9px 0 0;max-width:65ch}
.ios-shorts-guide{position:absolute;z-index:2;overflow:hidden;pointer-events:none}
.ios-shorts-crop{position:absolute;border:1.5px dashed #fff;box-shadow:0 0 0 200vmax #18212670,inset 0 0 0 1px #17201b3d}
.ios-shorts-crop span{position:absolute;top:8px;left:8px;border-radius:4px;padding:4px 6px;color:#fff;background:#23312ae6;font:500 10px/1.3 Arial,sans-serif;letter-spacing:.02em;white-space:nowrap}
.ios-shorts-crop[data-top-crop=true] span{top:auto;bottom:calc(100% + 7px)}
@media(max-width:600px){.ios-animation-guide-controls{padding:10px 12px}.ios-animation-guide-controls button{font-size:10px;padding:7px 8px}}
