.animation-options { border:1px solid var(--border); border-radius:6px; padding:10px; margin:10px 0; background:var(--bg2); }
.animation-options label { display:flex; flex-direction:column; gap:4px; margin:8px 0; }
.animation-options input, .animation-options select { width:100%; min-width:0; box-sizing:border-box; }
.animation-options input, .animation-options select, .animation-preview-controls input[type="number"] { background:var(--bg); color:var(--fg); border:1px solid var(--border); border-radius:4px; padding:5px; }
.animation-preview-controls button, .animation-options button { background:var(--bg3); color:var(--fg); border:1px solid var(--border); border-radius:4px; padding:5px 8px; cursor:pointer; }
.animation-preview-controls button:hover, .animation-options button:hover { border-color:var(--accent); }
.animation-preview-controls button:disabled { opacity:.5; cursor:default; }
.animation-preview-controls { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:8px 0; }
.animation-preview-controls input[type="range"] { flex:1; min-width:80px; }
.animation-preview-controls input[type="number"] { width:64px; min-width:0; }
.animation-preview-controls span { flex-basis:100%; font-size:12px; color:var(--fg2); }
.png-canvas-wrap { position:relative; background-color:#24212d; background-image:conic-gradient(#383341 25%,transparent 0 50%,#383341 0 75%,transparent 0); background-size:20px 20px; }
.animation-preview-status { position:absolute; bottom:12px; left:12px; right:12px; padding:6px; text-align:center; background:#110e19e8; color:var(--fg); font-size:12px; pointer-events:none; }
.animation-preview-status:empty { display:none; }
.animation-help { font-size:12px; line-height:1.5; color:var(--fg2); }
.animation-help code { overflow-wrap:anywhere; }
.animation-options[hidden], .animation-preview-controls[hidden], .animation-asset-note[hidden], #pngPaletteList[hidden] { display:none; }
.animation-asset-note { grid-column:1 / -1; padding:8px; border-left:3px solid var(--accent); font-size:12px; line-height:1.5; }
[data-animation-visible="0"] { display:none !important; }
body:not(.show-unused-widget-fields):not(.has-property-filter) #weDynamic > .widget-dyn-grid > .mode-off[data-animation-visible="1"] { display:flex; }
@media (max-width:680px) { .animation-options input, .animation-options select, .animation-preview-controls input, .animation-preview-controls button { min-height:44px; font-size:16px; } }
