
.tool-btn.tool-auto { --ic-acc: #9ff7ff; color: #e6fdff; font-weight: 900; margin: 0 2px; overflow: hidden;
  background: linear-gradient(180deg, rgba(40, 200, 230, .42), rgba(20, 110, 160, .28)); border-color: #6fe3f5;
  box-shadow: 0 0 16px rgba(70, 218, 248, .7), inset 0 1px 0 rgba(220, 250, 255, .3); isolation: isolate; }
.tool-btn.tool-auto::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 14px rgba(170, 245, 255, .65); background: rgba(90, 225, 255, .14); animation: glowFade 2.4s ease-in-out infinite; }
.tool-btn.tool-auto span { font-weight: 900; letter-spacing: .4px; text-shadow: 0 0 8px rgba(110, 230, 255, .85), 0 1px 0 #000; }
.tool-btn.tool-auto .ic { stroke: #e6fdff; filter: drop-shadow(0 0 5px rgba(120, 235, 255, .95)); animation: botIc 2.4s ease-in-out infinite; will-change: transform; }
.tool-btn.tool-auto:hover, .tool-btn.tool-auto.active { filter: brightness(1.15); border-color: #b8f4ff; }
.tool-btn.tool-auto::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(220, 252, 255, .45) 50%, transparent 65%); transform: translateX(-120%);
  animation: botShine 4s ease-in-out infinite; }
@keyframes botIc { 50% { transform: scale(1.14); } }
@keyframes botShine { 0%, 70% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .tool-btn.tool-auto::before, .tool-btn.tool-auto .ic, .tool-btn.tool-auto::after, .mgm-btn.bot::before, .mgm-btn.bot .ic { animation: none; } }
@media (max-width: 760px), (max-height: 520px) and (pointer: coarse) {
  .toolbar .tool-btn.tool-auto { margin: 0; border-radius: 12px; }
  .mgm-btn.bot { grid-column: span 2; flex-direction: row; justify-content: center; gap: 8px; font-size: 13px; font-weight: 900; color: #e6fdff;
    border-color: #6fe3f5; background: linear-gradient(180deg, rgba(40, 200, 230, .4), rgba(20, 110, 160, .25)); box-shadow: 0 0 12px rgba(60, 210, 240, .5); position: relative; }
  .mgm-btn.bot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 22px rgba(80, 225, 255, .95); animation: glowFade 2.4s ease-in-out infinite; }
  .mgm-btn.bot .ic { stroke: #e6fdff; animation: botIc 2.4s ease-in-out infinite; will-change: transform; }
}
