.toast {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  background: #2a2a2a; border: 1px solid #ffd700; color: #ffd700;
  padding: 0.6rem 1.2rem; border-radius: 8px; font-size: 0.85rem;
  z-index: 100; animation: fadeInOut 4s ease-in-out;
}
@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  10%, 90% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

@media (max-width: 800px) {
  #game-main { grid-template-columns: 1fr; }
  .detail-actions { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; text-align: center; }
  .weapon-level-buttons { grid-template-columns: repeat(2, 1fr); }
}
