.animated-tool{--ink: #17233d;width:100%;max-width:100%;box-sizing:border-box}.animated-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1.15fr);gap:24px;align-items:start}.animated-stage{position:relative;max-width:520px;margin:0 auto;border-radius:16px;padding:10px;background:linear-gradient(135deg,#e0e7ff,#fce7f3);box-shadow:0 12px 36px #17233d1f}.animated-stage canvas{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:10px;background:#17183b}.animated-stage span{position:absolute;right:18px;bottom:16px;color:#fff;background:#111827d9;border-radius:16px;padding:2px 8px;font-size:11px;font-weight:500;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.animated-controls{min-width:0}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.animated-tool .presets{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.animated-tool .presets button{font-size:12px;padding:6px 10px;border-radius:8px;white-space:nowrap}.animated-tool textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:72px;border-radius:8px}.animated-tool .control{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}.animated-tool .control select,.animated-tool .control input[type=range],.animated-tool .control input[type=color]{width:100%;box-sizing:border-box}.animated-tool .check{display:flex;gap:8px;align-items:center;margin:14px 0;font-weight:600;font-size:13px;cursor:pointer}.animated-tool .check input{width:18px;height:18px}.animated-tool .export-bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.animated-tool .history-panel{margin-top:32px;border-top:1px solid #e2e8f0;padding-top:20px}.animated-tool .history-panel h2{font-size:18px;margin:0}.animated-tool .section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.animated-tool .history-list{display:flex;flex-wrap:wrap;gap:8px}.animated-tool .history-item{font-size:12px;padding:6px 10px;border-radius:8px;text-align:left}@media(max-width:768px){.animated-layout{grid-template-columns:1fr;gap:18px}.animated-stage{max-width:100%}.settings-grid{grid-template-columns:1fr}}
