#free-motion-options[hidden],#free-motion-preview[hidden]{display:none!important}
#free-motion-options{margin:16px 0}#free-motion-options .fm-intro{font-size:14px;font-weight:600;line-height:1.8}#free-motion-options small,#free-motion-options .muted{font-size:12px;color:#888;line-height:1.7;font-weight:400}
#free-motion-options #fm-materials article{display:grid;grid-template-columns:clamp(64px,20%,108px) minmax(0,1fr);gap:10px;align-items:start}
#free-motion-options .fm-material-thumbnail{display:grid;place-items:center;aspect-ratio:4/3;background:#f8f1e8;border-radius:7px;overflow:hidden;font-size:11px;color:#795f4e;text-align:center}
#free-motion-options .fm-material-thumbnail img{width:100%;height:100%;object-fit:contain}
#free-motion-options .fm-material-controls .check{min-width:0;overflow-wrap:anywhere;margin-top:0}
#free-motion-options .fm-material-controls input[type=text]{box-sizing:border-box}
#free-motion-options details{border:1px solid #eee2d9;border-radius:10px;margin:10px 0;background:#fff}#free-motion-options summary{padding:14px;cursor:pointer;font-size:14px;font-weight:600;color:#684934}#free-motion-options .fm-section{padding:0 14px 14px}#free-motion-options .row{display:flex;gap:12px;flex-wrap:wrap}#free-motion-options label{display:block;flex:1;min-width:130px;margin:10px 0;font-size:13px}#free-motion-options input:not([type=checkbox]):not([type=color]),#free-motion-options select{display:block;width:100%;margin-top:7px}#free-motion-options input[type=text],#free-motion-options select{padding:9px;border:1px solid #ddd;border-radius:7px;background:#fff}#free-motion-options .check{display:flex;align-items:center;gap:6px}#free-motion-options button{padding:7px 11px;margin:4px 6px 4px 0;border:1px solid #e3d4c9;border-radius:7px;background:#fff;color:#805635;cursor:pointer}#free-motion-options button[aria-pressed=true]{background:#fff0e7;border-color:#e88955}#free-motion-options .caption-preview{padding:14px;background:#292832;border-radius:8px;text-align:center;overflow:hidden}#free-motion-options [hidden]{display:none!important}#free-motion-options output{float:right}#free-motion-options article{border-bottom:1px solid #eee;padding:10px 0}
#free-motion-preview{position:absolute;inset:0;overflow:hidden;background:#111922}#free-motion-preview .fm-preview-note{position:absolute;bottom:1%;width:100%;text-align:center;color:#ddd;font-size:9px;line-height:1.4;margin:0;z-index:4;pointer-events:none}
#free-motion-preview .layout-preview{width:270px;max-width:100%;aspect-ratio:9/16;margin:24px auto 12px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 70% 45%,#293849,#111922 65%);border-radius:10px;color:#fff}
#free-motion-preview .layout-title{position:absolute;left:6.667%;top:13.75%;width:86.666%;height:7.5%;font-size:14.5px;font-weight:700;line-height:1.2;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
#free-motion-preview .layout-progress{position:absolute;left:6.667%;top:22.4%;width:86.666%;display:flex;gap:3px;font-size:7px;color:#e8d09e}
#free-motion-preview .layout-progress span{flex:1;text-align:center;padding-bottom:6px;border-bottom:2px solid #75828a}
#free-motion-preview .layout-progress span:first-child{border-color:#e8d09e}
#free-motion-preview .layout-art{position:absolute;inset:29% 5% 30%;display:grid;align-content:center;justify-items:center;gap:24px;color:#b7c5d5;font-size:12px}
#free-motion-preview .layout-art i{width:80px;height:80px;border:1px solid #8398af;border-radius:50%;box-shadow:0 0 0 22px #526e8a18,0 0 0 44px #526e8a10}
#free-motion-preview .layout-art b{font-weight:400}
#free-motion-preview .layout-caption{position:absolute;top:78.333%;left:4.444%;width:91.112%;transform:translateY(-50%);text-align:center;white-space:nowrap;font-size:16px}
#free-motion-preview .layout-preview [hidden]{display:none!important}
#free-motion-preview input[type=color]:disabled{opacity:.45;cursor:default}
#free-motion-preview #fm-background_preview{position:absolute;inset:0;width:100%;height:100%;z-index:0}
#free-motion-preview .layout-title,#free-motion-preview .layout-progress,#free-motion-preview .layout-art,#free-motion-preview .layout-caption{z-index:1}
#free-motion-preview .background-safe-top,#free-motion-preview .background-safe-bottom{display:none;position:absolute;left:0;width:100%;text-align:center;font-size:10px;color:#ddd;background:#0003;border:1px dashed #ffffff40;pointer-events:none;z-index:2}
#free-motion-preview .background-safe-top{top:0;height:13.75%;padding-top:10px}
#free-motion-preview .background-safe-bottom{bottom:0;height:18.125%;padding-top:10px}
#free-motion-preview .has-personal-background .background-safe-top,#free-motion-preview .has-personal-background .background-safe-bottom{display:block}
#free-motion-preview #fm-background_protect_box{position:absolute;border:2px dashed #f0c66b;background:#f0c66b12;z-index:3;pointer-events:none}
#free-motion-preview .selecting-person-area{touch-action:none}
#free-motion-preview .layout-preview{width:100%;height:100%;margin:0;border-radius:0}#free-motion-preview .layout-art{font-size:10px}#free-motion-preview .layout-art i{width:48px;height:48px}#free-motion-preview .layout-progress{font-size:7px}
